[WIP] [NDTensors] Excise libraries #1601
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR deletes a big set of submodules of NDTensors and moves them to separate repositories, for example
NDTensors.BlockSparseArrays
has been moved to the new BlockSparseArrays.jl repository. Most will be unregistered (potentially interdependent) packages for the time being, while TypeParameterAccessors.jl will be registered since it is used extensively throughoutNDTensors.jl
and also is used by some of the new packages.So far most of the packages are kept as-is, however
GradedAxes
has been renamed toGradedUnitRanges
.I followed the instructions here to preserve the git history of the subfolders.
To-do:
NDTensors
and also other packages.NDTensors
that was depending onDiagonalArrays
, so that it can be removed as a dependency.[sources]
section in their Project.toml (see https://pkgdocs.julialang.org/v1/toml-files/#The-%5Bsources%5D-section).The packages should be set up in a uniform way using ITensorPkgSkeleton.jl. The following packages have been set up based on the code removed in this PR:
Here are package extensions that need to be set up for compatibility with
NDTensors.jl
andITensors.jl
, which will be addressed in future work:NamedDimsArraysNDTensorsExt
andNamedDimsArraysITensorsExt
NamedDimsArrays.jl#3.)NamedDimsArraysNDTensorsExt
andNamedDimsArraysITensorsExt
NamedDimsArrays.jl#3.)Other libraries to split off in future PRs are (these are being used in some tests which requires loading NDTensors as a test dependency):