Skip to content
The Daily Repo

sophgo / tpu-mlir

Machine learning compiler based on MLIR for Sophgo TPU.

Why this job: works in the areas we cover, but does not say which job it does

What it does

  • Multi-framework front-ends. PyTorch, ONNX, TFLite, Caffe (other frameworks via ONNX).
  • LLM-ready. one-shot conversion of HuggingFace LLMs (Qwen, MiniCPM-V, …) via llm_convert.py.
  • Full quantization toolchain. F32 / BF16 / F16 / INT8 (symmetric & asymmetric), AWQ / GPTQ / AutoRound passthrough, calibration, QAT.
  • MLIR-based pipeline. clean dialects (Top / Tpu), pattern rewrites, layer-group memory planning.
  • Production tooling. model_runner, model_tool, accuracy validation, simulator, visualizer.

Get started

pip install tpu_mlir
Maintenance
Active
Last commit 10 days ago
Stars
1,020
+4 this week
Licence
Custom
Read before business use
Downloads for
None listed
No release files
Latest version
v1.30.2
Released 2 months ago
Built with
C++
49% of the code

Is it looked after?

Contributors
Not stated
Last 90 days
Issues
41% closed
101 still open
Pull requests
57 merged
14 waiting
Releases
60
7 in the last year

Similar repos

Repos similar to this one
RepoStarsLast commitLicenceDownloads for
iree-org / iree-turbine1124 months agoApache-2.0No downloads
nod-ai / AMD-SHARK-Studio1,45011 months agoApache-2.0Windows
apache / tvm13,898yesterdayApache-2.0No downloads
More: languages, topics and project record

Languages

  • C++ 49%
  • Python 40%
  • MLIR 2%
  • HTML 2%

Topics

  • compiler
  • llm
  • mlir
  • tpu

Project record

  • JobOther AI tools
  • StatusListed
  • Commits4,938
  • Forks231
  • Watching25
  • Stars in 28 days+22
  • CreatedJun 3, 2022
  • First seen by usNov 7, 2026
  • CheckedNov 8, 2026

Type to search.

Try