{"adoption": {"forks": 211, "observed_at": "2026-08-28T04:05:33.580375+00:00", "stars": 1767}, "canonical_url": "https://ross.abutalabs.com/products/tensorcomprehensions", "card": {"archived": true, "artifact_type": "library", "description": "A domain specific language to express machine learning workloads.", "domain": ["machine-learning", "deep-learning", "gpu-computing", "compilers"], "enriched": true, "function": ["compiler", "machine-learning", "gpu-computing", "benchmarking"], "health_score": 10, "homepage": "https://facebookresearch.github.io/TensorComprehensions/", "language": "C++", "license": "Apache-2.0", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["facebookresearch/TensorComprehensions"], "name": "facebookresearch/TensorComprehensions", "platform": ["cpp", "python"], "pushed_at": "2023-04-28T21:51:23+00:00", "repo": "facebookresearch/TensorComprehensions", "stars": 1767, "tags": ["jit-compilation", "kernel-synthesis", "autotuning", "halide", "pytorch-integration", "caffe2", "domain-specific-language", "cuda", "gpu", "linux", "macos"], "topics": ["machine-learning", "domain-specific-language"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/tensorcomprehensions", "repo": "facebookresearch/TensorComprehensions", "role": "main", "score": 10}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:33.580375+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:26:24.472824+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4c0953a8bbb1f32cec5d2726aada82409c4cd85c78e09b58c47e21431f5d98b4", "fetched_at": "2026-08-28T04:05:33.580375+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebookresearch/TensorComprehensions"}, {"content_hash": "2e123e9efbb05b4b58f26a18f83adc720516e1c2e6450c4ca02951a2c734c19e", "fetched_at": "2026-08-29T11:04:43.448063+00:00", "kind": "homepage", "missing": false, "url": "https://facebookresearch.github.io/TensorComprehensions/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:33.580375+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:26:24.472824+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4c0953a8bbb1f32cec5d2726aada82409c4cd85c78e09b58c47e21431f5d98b4", "fetched_at": "2026-08-28T04:05:33.580375+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebookresearch/TensorComprehensions"}, {"content_hash": "2e123e9efbb05b4b58f26a18f83adc720516e1c2e6450c4ca02951a2c734c19e", "fetched_at": "2026-08-29T11:04:43.448063+00:00", "kind": "homepage", "missing": false, "url": "https://facebookresearch.github.io/TensorComprehensions/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:26:24.472824+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4c0953a8bbb1f32cec5d2726aada82409c4cd85c78e09b58c47e21431f5d98b4", "fetched_at": "2026-08-28T04:05:33.580375+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebookresearch/TensorComprehensions"}, {"content_hash": "2e123e9efbb05b4b58f26a18f83adc720516e1c2e6450c4ca02951a2c734c19e", "fetched_at": "2026-08-29T11:04:43.448063+00:00", "kind": "homepage", "missing": false, "url": "https://facebookresearch.github.io/TensorComprehensions/"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:33.580375+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:33.580375+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:33.580375+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:26:24.472824+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4c0953a8bbb1f32cec5d2726aada82409c4cd85c78e09b58c47e21431f5d98b4", "fetched_at": "2026-08-28T04:05:33.580375+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebookresearch/TensorComprehensions"}, {"content_hash": "2e123e9efbb05b4b58f26a18f83adc720516e1c2e6450c4ca02951a2c734c19e", "fetched_at": "2026-08-29T11:04:43.448063+00:00", "kind": "homepage", "missing": false, "url": "https://facebookresearch.github.io/TensorComprehensions/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:33.580375+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:33.580375+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:26:24.472824+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4c0953a8bbb1f32cec5d2726aada82409c4cd85c78e09b58c47e21431f5d98b4", "fetched_at": "2026-08-28T04:05:33.580375+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebookresearch/TensorComprehensions"}, {"content_hash": "2e123e9efbb05b4b58f26a18f83adc720516e1c2e6450c4ca02951a2c734c19e", "fetched_at": "2026-08-29T11:04:43.448063+00:00", "kind": "homepage", "missing": false, "url": "https://facebookresearch.github.io/TensorComprehensions/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:33.580375+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:33.580375+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:33.580375+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:26:24.472824+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4c0953a8bbb1f32cec5d2726aada82409c4cd85c78e09b58c47e21431f5d98b4", "fetched_at": "2026-08-28T04:05:33.580375+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebookresearch/TensorComprehensions"}, {"content_hash": "2e123e9efbb05b4b58f26a18f83adc720516e1c2e6450c4ca02951a2c734c19e", "fetched_at": "2026-08-29T11:04:43.448063+00:00", "kind": "homepage", "missing": false, "url": "https://facebookresearch.github.io/TensorComprehensions/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:33.580375+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:33.580375+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:26:24.472824+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4c0953a8bbb1f32cec5d2726aada82409c4cd85c78e09b58c47e21431f5d98b4", "fetched_at": "2026-08-28T04:05:33.580375+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebookresearch/TensorComprehensions"}, {"content_hash": "2e123e9efbb05b4b58f26a18f83adc720516e1c2e6450c4ca02951a2c734c19e", "fetched_at": "2026-08-29T11:04:43.448063+00:00", "kind": "homepage", "missing": false, "url": "https://facebookresearch.github.io/TensorComprehensions/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:26:24.472824+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4c0953a8bbb1f32cec5d2726aada82409c4cd85c78e09b58c47e21431f5d98b4", "fetched_at": "2026-08-28T04:05:33.580375+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebookresearch/TensorComprehensions"}, {"content_hash": "2e123e9efbb05b4b58f26a18f83adc720516e1c2e6450c4ca02951a2c734c19e", "fetched_at": "2026-08-29T11:04:43.448063+00:00", "kind": "homepage", "missing": false, "url": "https://facebookresearch.github.io/TensorComprehensions/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:26:24.472824+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4c0953a8bbb1f32cec5d2726aada82409c4cd85c78e09b58c47e21431f5d98b4", "fetched_at": "2026-08-28T04:05:33.580375+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebookresearch/TensorComprehensions"}, {"content_hash": "2e123e9efbb05b4b58f26a18f83adc720516e1c2e6450c4ca02951a2c734c19e", "fetched_at": "2026-08-29T11:04:43.448063+00:00", "kind": "homepage", "missing": false, "url": "https://facebookresearch.github.io/TensorComprehensions/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:26:24.472824+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4c0953a8bbb1f32cec5d2726aada82409c4cd85c78e09b58c47e21431f5d98b4", "fetched_at": "2026-08-28T04:05:33.580375+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebookresearch/TensorComprehensions"}, {"content_hash": "2e123e9efbb05b4b58f26a18f83adc720516e1c2e6450c4ca02951a2c734c19e", "fetched_at": "2026-08-29T11:04:43.448063+00:00", "kind": "homepage", "missing": false, "url": "https://facebookresearch.github.io/TensorComprehensions/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["archived"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3130, "days_push": 1223, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 10, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}