#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.

Stars
1.7k
License
custom license
Last commit
Nov 2026
Last release
Oct 2026
Language
Python
Stars, last 29 weeks+28
6 May 2026: 1,665 stars13 May 2026: 1,666 stars20 May 2026: 1,666 stars27 May 2026: 1,668 stars3 Jun 2026: 1,669 stars10 Jun 2026: 1,669 stars17 Jun 2026: 1,671 stars24 Jun 2026: 1,672 stars1 Jul 2026: 1,676 stars8 Jul 2026: 1,679 stars15 Jul 2026: 1,680 stars22 Jul 2026: 1,680 stars29 Jul 2026: 1,682 stars5 Aug 2026: 1,682 stars12 Aug 2026: 1,682 stars19 Aug 2026: 1,683 stars26 Aug 2026: 1,685 stars2 Sept 2026: 1,688 stars9 Sept 2026: 1,688 stars16 Sept 2026: 1,688 stars23 Sept 2026: 1,688 stars30 Sept 2026: 1,688 stars7 Oct 2026: 1,688 stars14 Oct 2026: 1,689 stars21 Oct 2026: 1,690 stars28 Oct 2026: 1,690 stars4 Nov 2026: 1,692 stars11 Nov 2026: 1,692 stars18 Nov 2026: 1,692 stars25 Nov 2026: 1,693 stars

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
Also in ML frameworks and libraries
RankProjectScore
#176jetson-containersModular container build system for AI/ML packages on NVIDIA Jetson4.9k starscustom license61 out of 100
#177colabfoldProtein structure prediction with AlphaFold2 and other models using MMseqs2 MSAs Live demo ↗ (opens in a new tab)3k starsMIT61 out of 100
#179autotsPython AutoML library for time series forecasting with genetic-algorithm model search Live demo ↗ (opens in a new tab)1.4k starsMIT61 out of 100
#180detectron2PyTorch library for object detection and segmentation research Live demo ↗ (opens in a new tab)35k starsApache-2.060 out of 100
#181swe-benchBenchmark and Docker harness for scoring LLM patches on real GitHub issues6.3k starsMIT60 out of 100