Ross ROSS = Recommend OSS · open-source software intelligence for agents

facebookresearch/TensorComprehensions

A domain specific language to express machine learning workloads. observed · 2026-08-28

github.com/facebookresearch/TensorComprehensions · homepage · C++ · Apache-2.0 (permissive) · archived observed · 2026-08-28

Health v2 · maintenance only

10/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100

Flags: archived

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: 3130
  • days_rel: n/a
  • days_push: 1223
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1767 stars · 211 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Tensor Comprehensions is a C++ library with a Python API that provides a domain-specific language for expressing machine learning workloads and automatically synthesizes high-performance GPU kernels via JIT compilation. It integrates with PyTorch and Caffe2 and includes an autotuner that searches for optimal kernel mapping options.

Use cases

  • generate optimized GPU kernels for tensor operations automatically
  • JIT-compile custom ML kernels for specific tensor sizes
  • autotune tensordot or convolution kernels on CUDA GPUs
  • express ML math in a compact DSL instead of writing CUDA by hand
  • integrate custom kernels into PyTorch or Caffe2 models

When to choose

  • you need high-performance custom tensor kernels without hand-writing CUDA
  • you want JIT compilation and autotuning for specific tensor shapes
  • you work in PyTorch or Caffe2 and need framework-agnostic kernel synthesis

When to avoid

  • you need actively maintained tooling - the project has seen little recent development
  • you target CPUs only or non-CUDA hardware
  • you want a general-purpose deep learning framework rather than a kernel compiler

Facets

library · maturity maintenance

compiler machine-learning gpu-computing benchmarking machine-learning deep-learning gpu-computing compilers cpp python jit-compilation kernel-synthesis autotuning halide pytorch-integration caffe2 domain-specific-language cuda gpu linux macos

2 sources

Member repositories

RepositoryRoleHealth v2
facebookresearch/TensorComprehensionsmain10

For agents

markdown · JSON · MCP: product_card(name="facebookresearch/TensorComprehensions")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem