tensor-compiler/taco
The Tensor Algebra Compiler (taco) computes sparse tensor expressions on CPUs and GPUs observed · 2026-08-28
Health v2 · maintenance only
30/100
- Activity 16
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3629
- days_rel: n/a
- days_push: 506
- n_releases_24m: 0
Adoption not part of the score
1366 stars · 200 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
TACO (The Tensor Algebra Compiler) is a C++ library that computes sparse and dense tensor algebra and linear algebra expressions, generating kernels with performance competitive with hand-optimized code. It can be used as a C++ or Python library, a command-line code generator, and supports OpenMP and CUDA execution.
Use cases
- compute sparse matrix-vector multiplication (SpMV) efficiently
- compute MTTKRP for sparse tensor factorization
- compute SDDMM for machine learning factor analysis
- generate optimized C kernels for tensor expressions
- load and compute on sparse tensors in CSR, COO, or CSF formats
- run tensor algebra on GPUs with CUDA
- prototype sparse linear algebra in Python with NumPy/SciPy
When to choose
- you need high-performance sparse tensor or linear algebra kernels without hand-optimizing them
- you work with mixed sparse/dense tensor computations in C++ or Python
- you want to generate custom optimized kernels for specific tensor expressions
- you need CSR, COO, CSF, or custom sparse storage format support
When to avoid
- you only need dense linear algebra, where BLAS libraries like Eigen or MKL are simpler
- you need deep learning autodiff or neural network training rather than tensor algebra kernels
- you need a pure Python solution without a C++ build toolchain
Facets
library · maturity maintenance
compiler math machine-learning data-science machine-learning performance cpp python cli sparse-tensors tensor-algebra linear-algebra code-generator cuda openmp spmv mttkrp sddmm numerical-computing code-generation algorithms scientific-computing linux macos gpu
7 sources
- readme: https://github.com/tensor-compiler/taco · fetched 2026-08-28 · 90a9669902a3
- homepage: http://tensor-compiler.org · fetched 2026-08-29 · 5daa147711ea
- site_page: http://tensor-compiler.org/docs · fetched 2026-08-29 · 59dcc566973b
- site_page: http://tensor-compiler.org/docs/data_analytics.html · fetched 2026-08-29 · f76114350012
- site_page: http://tensor-compiler.org/docs/scientific_computing.html · fetched 2026-08-29 · 9d14669c1bf4
- site_page: http://tensor-compiler.org/docs/machine_learning.html · fetched 2026-08-29 · b0a6e7062178
- site_page: http://tensor-compiler.org/docs/index.html · fetched 2026-08-29 · de0d950e0bd0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tensor-compiler/taco | main | 30 |
For agents
markdown · JSON · MCP: product_card(name="tensor-compiler/taco")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem