#294294th of 433 in ML frameworks and libraries

onnx2tf

Converts ONNX models to LiteRT/TFLite, SavedModel and PyTorch code

Stars
1k
License
MIT
Last commit
Sep 2026
Last release
Sep 2026
Language
Python
Stars, last 29 weeks+53
8 May 2026: 951 stars15 May 2026: 952 stars22 May 2026: 956 stars29 May 2026: 958 stars5 Jun 2026: 964 stars12 Jun 2026: 964 stars19 Jun 2026: 967 stars26 Jun 2026: 968 stars3 Jul 2026: 968 stars10 Jul 2026: 971 stars17 Jul 2026: 976 stars24 Jul 2026: 980 stars31 Jul 2026: 984 stars7 Aug 2026: 985 stars14 Aug 2026: 985 stars21 Aug 2026: 986 stars28 Aug 2026: 989 stars4 Sept 2026: 991 stars11 Sept 2026: 994 stars18 Sept 2026: 996 stars25 Sept 2026: 997 stars2 Oct 2026: 997 stars9 Oct 2026: 997 stars16 Oct 2026: 999 stars23 Oct 2026: 1,000 stars30 Oct 2026: 1,000 stars6 Nov 2026: 1,001 stars13 Nov 2026: 1,003 stars20 Nov 2026: 1,004 stars27 Nov 2026: 1,004 stars

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
Also in ML frameworks and libraries
RankProjectScore
#292evalaiHost ML challenges with submissions, evaluation workers and public leaderboards2.1k starscustom license44 out of 100
#293fklearnPython library for building ML pipelines from composable functions1.5k starsApache-2.044 out of 100
#295time-series-libraryPyTorch benchmark library of deep time series models for research13.1k stars+115 (+0.9%) in 30 daysMIT43 out of 100
#296pycaretSelf-hosted AutoML platform with experiment tracking, model registry and deployment UI9.9k starscustom license43 out of 100
#297neural_prophetPyTorch time series forecasting library inspired by Facebook Prophet and AR-Net4.3k starsMIT43 out of 100