#294294th of 433 in ML frameworks and libraries
onnx2tf
Converts ONNX models to LiteRT/TFLite, SavedModel and PyTorch code
Watch puts onnx2tf on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.onnx2tf is on your watch list. Its new releases and problems show there.
- Stars
- 1k
- License
- MIT
- Last commit
- Sep 2026
- Last release
- Sep 2026
- Language
- Python
951 on 8 May 20261,004 on 27 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
onnx2tf is a Python CLI that converts ONNX models to TFLite (LiteRT) files, SavedModel, H5, Keras v3 and TF v1 pb. It can also emit a native PyTorch nn.Module package, TorchScript, ExportedProgram and Dynamo ONNX. The default flatbuffer_direct backend writes TFLite directly, with a legacy tf_converter path still available. The README itself recommends LiteRT Torch over this tool.
Who it is for: Engineers converting ONNX models for TFLite or PyTorch deployment
Strengths
- Default flatbuffer_direct backend skips per-node TF conversion; one example wrote float32 TFLite ~107x faster
- Emits float32/float16 TFLite, SavedModel, H5, Keras v3 and PyTorch packages from one tool
- Accuracy report options compare ONNX, TFLite and PyTorch outputs on the same inputs
- Large ONNX operator table, mostly fully supported, with a few partial ops
Weaknesses
- README tells users to use LiteRT Torch instead of onnx2tf
- PyTorch export is labelled ultra experimental and intended for inference only, not training
- CUSTOM ops are rejected in direct SavedModel and PyTorch export
- Some option combinations are rejected, such as --disable_model_save with H5 output
What it needs
- Docker
- Needs TensorFlow, PyTorch, onnx
- Models: ONNX, TFLite, LiteRT, SavedModel, PyTorch
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in ML frameworks and libraries
See all 433| Rank | Project | Score |
|---|---|---|
| #292 | evalaiHost ML challenges with submissions, evaluation workers and public leaderboards | 44 out of 100 |
| #293 | fklearnPython library for building ML pipelines from composable functions | 44 out of 100 |
| #295 | time-series-libraryPyTorch benchmark library of deep time series models for research | 43 out of 100 |
| #296 | pycaretSelf-hosted AutoML platform with experiment tracking, model registry and deployment UI | 43 out of 100 |
| #297 | neural_prophetPyTorch time series forecasting library inspired by Facebook Prophet and AR-Net | 43 out of 100 |