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
- Contributing guide (opens in new tab)
- Security policy (opens in new tab)
- No code of conduct
Similar repos
| Repo | Stars | Last commit | Licence | Downloads for |
|---|---|---|---|---|
| iree-org / iree-turbine | 112 | 4 months ago | Apache-2.0 | No downloads |
| nod-ai / AMD-SHARK-Studio | 1,450 | 11 months ago | Apache-2.0 | Windows |
| apache / tvm | 13,898 | yesterday | Apache-2.0 | No 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
