Skip to main content

DOI PyPI version GitHub Actions

PyTorchDecomp

A set of matrix decomposition algorithms implemented as PyTorch classes

Installation

Because PyTorchDecomp is a PyPI package, please install it by pip command as follows:

python -m venv env
pip install torchdecomp

For the other OS-specific or package-manager-specific installation, please check the README.md of PyTorch.

Usage

See the tutorials.

References

  • LU/QR/Cholesky/Eigenvalue Decomposition
    • Gene H. Golub, Charles F. Van Loan Matrix Computations (Johns Hopkins Studies in the Mathematical Sciences)
  • Principal Component Analysis (PCA) / Partial Least Squares (PLS)
    • R. Arora, A. Cotter, K. Livescu and N. Srebro, Stochastic optimization for PCA and PLS, 2012 50th Annual Allerton Conference on Communication, Control, and Computing, 2012, 861-868. 2012
  • Independent Component Analysis (ICA)
    • Hybarinen, A. and Oja, E. Independent component analysis: algorithms and applications, Neural Networks, 13, 411-430. 2000
  • Deep Deterministic ICA (DDICA)
    • H. Li, S. Yu and J. C. Príncipe, Deep Deterministic Independent Component Analysis for Hyperspectral Unmixing, 2022 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), 3878-3882, 2022
  • Non-negative Matrix Factorization (NMF)
    • Kimura, K. A Study on Efficient Algorithms for Nonnegative Matrix/Tensor Factorization, Ph.D. Thesis, 2017
    • Exponent term depending on Beta parameter
      • Nakano, M. et al., Convergence-guaranteed multiplicative algorithms for nonnegative matrix factorization with Beta-divergence. IEEE MLSP, 283-288, 2010
    • Beta-divergence NMF and Backpropagation

Contributing

If you have suggestions for how PyTorchDecomp could be improved, or want to report a bug, open an issue! We'd love all and any contributions.

For more, check out the Contributing Guide.

License

PyTorchDecomp has a MIT license, as found in the LICENSE file.

Authors

  • Koki Tsuyuzaki

Metadata

Release files for torchdecomp 1.3.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for torchdecomp 1.3.4
File Size Uploaded Provenance Actions
torchdecomp-1.3.4.tar.gz 11.7 kB Without provenance Details for torchdecomp-1.3.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for torchdecomp 1.3.4
File Interpreter ABI Platform Actions
torchdecomp-1.3.4-py3-none-any.whl Python 3 none any Details for torchdecomp-1.3.4-py3-none-any.whl

Total release size: 28.7 kB

Release files / torchdecomp-1.3.4.tar.gz

Download URL torchdecomp-1.3.4.tar.gz
Size 11.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6085353579f82f171b840b4902beeee149a83b51a53e31819809c1090124d400
BLAKE2b-256 checksum
How to use checksums
07290f0f8f15b9b69fbd24c8b8195e7265b2d7c99aa874a7dfd924647a1e224a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.0 CPython/3.10.14 Linux/5.15.0-91-generic

Release files / torchdecomp-1.3.4-py3-none-any.whl

Download URL torchdecomp-1.3.4-py3-none-any.whl
Size 17.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3fc0f984c903937d387a98a38a04b4301d23f7bfb6f4bc8764bb2d0293bdd27b
BLAKE2b-256 checksum
How to use checksums
f89664dc1076ca1cfd6de3330946044b0f448db4073ca16decbb0b73801b1c3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.0 CPython/3.10.14 Linux/5.15.0-91-generic

Security for torchdecomp 1.3.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page