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

llvm/torch-mlir

The Torch-MLIR project aims to provide first class support from the PyTorch ecosystem to the MLIR ecosystem. observed · 2026-08-28

github.com/llvm/torch-mlir · C++ · NOASSERTION (other) observed · 2026-08-28

Health v2 · maintenance only

67/100

  • Activity 99
  • 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: 2225
  • days_rel: n/a
  • days_push: 8
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1892 stars · 728 forks observed · 2026-08-28

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

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.

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

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

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

Facets

library · maturity active

compiler machine-learning llm-training machine-learning compilers developer-tools gpu-computing python cpp windows mlir pytorch compiler-infrastructure hardware-lowering llvm-incubator linux macos

1 source

Member repositories

RepositoryRoleHealth v2
llvm/torch-mlirmain67

For agents

markdown · JSON · MCP: product_card(name="llvm/torch-mlir")

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