{"adoption": {"forks": 728, "observed_at": "2026-08-28T04:05:50.491180+00:00", "stars": 1892}, "canonical_url": "https://ross.abutalabs.com/products/torch-mlir", "card": {"archived": false, "artifact_type": "library", "description": "The Torch-MLIR project aims to provide first class support from the PyTorch ecosystem to the MLIR ecosystem.", "domain": ["machine-learning", "compilers", "developer-tools", "gpu-computing"], "enriched": true, "function": ["compiler", "machine-learning", "llm-training"], "health_score": 85, "homepage": null, "language": "C++", "license": "NOASSERTION", "license_family": "other", "maturity": "active", "member_repos": ["llvm/torch-mlir"], "name": "llvm/torch-mlir", "platform": ["python", "cpp", "windows"], "pushed_at": "2026-08-25T17:58:16+00:00", "repo": "llvm/torch-mlir", "stars": 1892, "tags": ["mlir", "pytorch", "compiler-infrastructure", "hardware-lowering", "llvm-incubator", "linux", "macos"], "topics": ["pytorch", "compiler", "mlir"], "urls": [], "use_cases": ["compile pytorch models to mlir", "lower torch programs to custom hardware backends", "build a compiler backend for pytorch without writing a frontend", "convert pytorch to onnx then to mlir", "run pytorch models on heterogeneous accelerators", "integrate pytorch into an mlir-based toolchain"], "what_it_is": "Torch-MLIR is a compiler project providing first-class translation of PyTorch programs into the MLIR compiler ecosystem. It lets hardware vendors and compiler authors lower PyTorch models to MLIR dialects and then to custom backends without writing their own PyTorch frontends.", "when_to_avoid": ["you just want to deploy PyTorch models to standard runtimes like ONNX Runtime or TensorRT", "you need a production-endorsed LLVM component, since the project is still in LLVM incubation", "your target stack has no MLIR involvement at all"], "when_to_choose": ["you are a hardware vendor building an MLIR-based backend for PyTorch models", "you need a standardized, community-maintained PyTorch-to-MLIR lowering instead of a custom one", "you are doing compiler research on MLIR dialects for ML workloads"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/torch-mlir", "repo": "llvm/torch-mlir", "role": "main", "score": 67}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:50.491180+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:12:57.761907+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d16e1544b824da76d082d0ffb8570430ab6eaee49398bd1dfbb368cf7d953089", "fetched_at": "2026-08-28T04:05:50.491180+00:00", "kind": "readme", "missing": false, "url": "https://github.com/llvm/torch-mlir"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:50.491180+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:12:57.761907+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d16e1544b824da76d082d0ffb8570430ab6eaee49398bd1dfbb368cf7d953089", "fetched_at": "2026-08-28T04:05:50.491180+00:00", "kind": "readme", "missing": false, "url": "https://github.com/llvm/torch-mlir"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:12:57.761907+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d16e1544b824da76d082d0ffb8570430ab6eaee49398bd1dfbb368cf7d953089", "fetched_at": "2026-08-28T04:05:50.491180+00:00", "kind": "readme", "missing": false, "url": "https://github.com/llvm/torch-mlir"}], "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:50.491180+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:50.491180+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:50.491180+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:12:57.761907+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d16e1544b824da76d082d0ffb8570430ab6eaee49398bd1dfbb368cf7d953089", "fetched_at": "2026-08-28T04:05:50.491180+00:00", "kind": "readme", "missing": false, "url": "https://github.com/llvm/torch-mlir"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:50.491180+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:50.491180+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:12:57.761907+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d16e1544b824da76d082d0ffb8570430ab6eaee49398bd1dfbb368cf7d953089", "fetched_at": "2026-08-28T04:05:50.491180+00:00", "kind": "readme", "missing": false, "url": "https://github.com/llvm/torch-mlir"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:50.491180+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:50.491180+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:50.491180+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:12:57.761907+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d16e1544b824da76d082d0ffb8570430ab6eaee49398bd1dfbb368cf7d953089", "fetched_at": "2026-08-28T04:05:50.491180+00:00", "kind": "readme", "missing": false, "url": "https://github.com/llvm/torch-mlir"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:50.491180+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:50.491180+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:12:57.761907+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d16e1544b824da76d082d0ffb8570430ab6eaee49398bd1dfbb368cf7d953089", "fetched_at": "2026-08-28T04:05:50.491180+00:00", "kind": "readme", "missing": false, "url": "https://github.com/llvm/torch-mlir"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:12:57.761907+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d16e1544b824da76d082d0ffb8570430ab6eaee49398bd1dfbb368cf7d953089", "fetched_at": "2026-08-28T04:05:50.491180+00:00", "kind": "readme", "missing": false, "url": "https://github.com/llvm/torch-mlir"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:12:57.761907+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d16e1544b824da76d082d0ffb8570430ab6eaee49398bd1dfbb368cf7d953089", "fetched_at": "2026-08-28T04:05:50.491180+00:00", "kind": "readme", "missing": false, "url": "https://github.com/llvm/torch-mlir"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:12:57.761907+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d16e1544b824da76d082d0ffb8570430ab6eaee49398bd1dfbb368cf7d953089", "fetched_at": "2026-08-28T04:05:50.491180+00:00", "kind": "readme", "missing": false, "url": "https://github.com/llvm/torch-mlir"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2225, "days_push": 8, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 67, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}