#2222nd of 120 in ML frameworks and libraries

onnxruntime

Cross-platform inference engine for ONNX models with hardware accelerator support

Stars
22.2k
License
MIT
Last commit
Oct 2026
Last release
Oct 2026
Language
C++
Stars, last 30 weeks+2,628
27 Mar 2026: 19,528 stars3 Apr 2026: 19,605 stars10 Apr 2026: 19,690 stars17 Apr 2026: 19,760 stars24 Apr 2026: 20,184 stars1 May 2026: 20,277 stars8 May 2026: 20,328 stars15 May 2026: 20,401 stars22 May 2026: 20,490 stars29 May 2026: 20,572 stars5 Jun 2026: 20,640 stars12 Jun 2026: 20,710 stars19 Jun 2026: 20,774 stars26 Jun 2026: 20,853 stars3 Jul 2026: 20,915 stars10 Jul 2026: 20,964 stars17 Jul 2026: 21,035 stars24 Jul 2026: 21,108 stars31 Jul 2026: 21,176 stars7 Aug 2026: 21,238 stars14 Aug 2026: 21,321 stars21 Aug 2026: 21,461 stars28 Aug 2026: 21,621 stars4 Sept 2026: 21,720 stars11 Sept 2026: 21,793 stars18 Sept 2026: 21,863 stars25 Sept 2026: 21,910 stars2 Oct 2026: 21,975 stars9 Oct 2026: 22,035 stars16 Oct 2026: 22,098 stars23 Oct 2026: 22,156 stars

19,528 on 27 Mar 202622,156 on 23 Oct 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

ONNX Runtime runs ONNX models across different hardware, drivers and operating systems, applying graph optimizations and using hardware accelerators where available. It takes models exported from PyTorch, TensorFlow/Keras and classical libraries such as scikit-learn, LightGBM and XGBoost. A separate training mode accelerates multi-node NVIDIA GPU training of transformer models with a one-line change to existing PyTorch scripts.

Who it is for: Engineers deploying trained models on varied hardware

Strengths

  • Accepts models from PyTorch, TensorFlow/Keras, scikit-learn, LightGBM and XGBoost via ONNX
  • Runs on multiple hardware targets and operating systems with graph optimizations
  • MIT license, with docs, roadmap and companion example repositories
  • Training acceleration needs one added line in existing PyTorch scripts

Weaknesses

  • Library, not a server: README describes no built-in HTTP API
  • Models must be converted to ONNX format first
  • README lists no execution providers, language bindings or system requirements
  • May collect usage data and send it to Microsoft; see privacy statement

What it needs

  • GPU optional
  • Docker
  • Models: ONNX, PyTorch, TensorFlow/Keras, scikit-learn, LightGBM

Quick answers

Is onnxruntime open source?

Yes. Its code is on GitHub under the MIT license.

Can you run onnxruntime with Docker?

Yes. Its repository has a Docker setup: a Dockerfile, a Compose file or a published image.

Does onnxruntime need a GPU?

No. It runs on a CPU and can use a GPU when you have one.

Also in ML frameworks and libraries

See all 120
Also in ML frameworks and libraries
RankProjectScore
1pytorchPython tensor library with GPU support and tape-based autograd for deep learning105k starscustom license95 out of 100
2transformersPython library defining open models for text, vision, audio and multimodal tasks168.1k starsApache-2.094 out of 100
3ultralyticsPython library and CLI for training and running YOLO vision models62.8k starsAGPL-3.093 out of 100
#4pytorch-image-modelsPyTorch library of image models, pretrained weights and reference training scripts37.2k starsApache-2.093 out of 100
#5supervisionPython toolkit for loading, annotating and counting computer vision detections Live demo ↗ (opens in a new tab)51.3k starsMIT91 out of 100