onnxruntime

Install command:
brew install onnxruntime

Cross-platform, high performance scoring engine for ML models

https://github.com/microsoft/onnxruntime

License: MIT

Development: Pull requests

Formula JSON API: /api/formula/onnxruntime.json

Formula code: onnxruntime.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 1.31.1

Patches:

https://github.com/microsoft/onnxruntime/commit/9be45798c9a3d17bdf6c29e623a9823cfee98547

Depends on:

abseil 20260817.0 C++ Common Libraries
onnx 1.23.2 Open standard for machine learning interoperability
protobuf 36.2 Protocol buffers (Google's data interchange format)
re2 2025-11-05 Alternative to backtracking PCRE-style regular expression engines

Depends on when building from source:

boost 1.92.0 Collection of portable C++ source libraries
cmake 4.4.5 Cross-platform make
eigen 5.0.1 C++ template library for linear algebra
flatbuffers 25.12.19 Serialization library for C++, supporting Java, C#, and Go
howard-hinnant-date 3.0.5 C++ library for date and time operations based on <chrono>
nlohmann-json 3.12.0 JSON for modern C++
python@3.15 3.15.2 Interpreted, interactive, object-oriented programming language
safeint 3.0.28a Class library for C++ that manages integer overflows

GitHub Packages downloads:

Last 30 days24,276
Downloads220,877
Analytics install events (30 days)1,817
Downloads / install events (30 days)13.4×

Source: GitHub Packages, fetched 2026-11-11T00:53:17Z. Analytics dates: 2026-10-12 to 2026-11-11. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs1,8165,06517,770
Installs (--HEAD)1624
Installs on Request8692,96313,117
Installs on Request (--HEAD)1624
Build Errors0