#178178th of 433 in ML frameworks and libraries
tensorly
Python library for tensor decomposition and tensor algebra with swappable backends
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts tensorly on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.tensorly is on your watch list. Its new releases and problems show there.
- Stars
- 1.7k
- License
- custom license
- Last commit
- Nov 2026
- Last release
- Oct 2026
- Language
- Python
1,665 on 6 May 20261,693 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
TensorLy is a Python library for tensor algebra, tensor decomposition (Tucker, CP, TT and others) and tensor learning. A backend switch, set with tl.set_backend, routes computation through NumPy, PyTorch, JAX, TensorFlow, CuPy or Paddle, so the same code can run on CPU or GPU. It is a numerical library, not an LLM tool.
Who it is for: Researchers and engineers doing tensor decomposition in Python
Strengths
- Same API across NumPy, PyTorch, JAX, TensorFlow, CuPy and Paddle backends
- Covers Tucker, CP and tensor-train formats, including random tensors in those forms
- Installs with pip or conda; NumPy is the only default dependency
- Tests can be run per backend via the TENSORLY_BACKEND variable
Weaknesses
- Not an LLM or generative AI tool; it targets tensor methods and research
- Non-NumPy backends must be installed separately by the user
- License is not identified by detection (NOASSERTION), so terms need checking
- Quickstart is brief; most detail lives in the external docs site
What it needs
- GPU optional
- Needs NumPy, Python 3
- Models: NumPy, PyTorch, JAX, TensorFlow, CuPy
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in ML frameworks and libraries
See all 433| Rank | Project | Score |
|---|---|---|
| #176 | jetson-containersModular container build system for AI/ML packages on NVIDIA Jetson | 61 out of 100 |
| #177 | colabfoldProtein structure prediction with AlphaFold2 and other models using MMseqs2 MSAs | 61 out of 100 |
| #179 | autotsPython AutoML library for time series forecasting with genetic-algorithm model search | 61 out of 100 |
| #180 | detectron2PyTorch library for object detection and segmentation research | 60 out of 100 |
| #181 | swe-benchBenchmark and Docker harness for scoring LLM patches on real GitHub issues | 60 out of 100 |