BSD Ports

misc/py-onnxruntime 1.31.0 FreeBSD

Cross-platform, high performance ML inferencing & training accelerator

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Port added
Last update
Commit
103dc9c43f
License
MIT
Categories
misc
Package size
14865.0 KiB, 81564.8 KiB installed

Description

ONNX Runtime is a cross-platform inference and training machine-learning accelerator.

ONNX Runtime inference can enable faster customer experiences and lower costs, supporting models from deep learning frameworks such as PyTorch and TensorFlow/Keras as well as classical machine learning libraries such as scikit-learn, LightGBM, XGBoost, etc. ONNX Runtime is compatible with different hardware, drivers, and operating systems, and provides optimal performance by leveraging hardware accelerators where applicable alongside graph optimizations and transforms.

ONNX Runtime training can accelerate the model training time on multi-node NVIDIA GPUs for transformer models with a one-line addition for existing PyTorch training scripts.

Install

Binary package:

pkg install py312-onnxruntime

From the ports tree:

cd /usr/ports/misc/py-onnxruntime/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-onnxruntime>0:misc/py-onnxruntime

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.30.01.30.0---
FreeBSD:14:quarterly1.30.01.30.0n/a--
FreeBSD:15:latest1.30.01.31.0n/a--
FreeBSD:15:quarterly1.30.01.30.0n/an/an/a
FreeBSD:16:latest1.30.01.31.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 5

Runtime 4

The full lists below include those, and their dependencies in turn.

Build dependencies 28
Run dependencies 20

Configuration

No options to configure.

USES
compiler:c++17-lang python
Service scripts
none

Files

distinfo 50
FileSizeSHA256
onnxruntime/20250814.0.zip3.194036e+06b2bdcf6682d8cb53df365bcc5d6c318a22e55821d9978a10fdb61404c026daff
onnxruntime/9.0.zip3.0459932e+07326b5ee99dae22fb294a40d04096174b1ee287f9193bd9fbeb23deae60a126c7
onnxruntime/3c73d91c0b04e2b59462f0a741be8c07024c1bc0.zip9833057b5f012372d4c0e0a975b2e534e9af647cd20530fc72f73a75a61e05e0f997e
onnxruntime/v3.0.1.zip941286f4300b96f7a304d4ef9bf6e0fa3ded72159f7f2d0f605bdde3e030a0dba7cf9f
onnxruntime/5c210da409e7f1e51ddf445134a4376fdbd70d7d.zip22836314e8b3f03ab7461f56b3fa7ffd4acfb6e6a65f895dc4b50548cab259229afcbd
onnxruntime/eigen-1d8b82b0740839c0de7f1242a3585e3390ff5f33.zip4.075744e+066a60d76351f97132669daeeb721d6bf14b008101883ad2d687a3201c5c461eb0
onnxruntime/v23.5.26.zip3.209602e+0657bd580c0772fd1a726c34ab8bf05325293bc5f9c165060a898afa1feeeb95e1
onnxruntime/0a92994d729ff76a58f692d3028ca1b64b145d91.zip91373e66e65515fa09927b348d3d584c68be4215cfe664100d01c9dbc7655a5716d70
onnxruntime/63058eff77e11aa15bf531df5dd34395ec3017c8.zip166463d7b0e9c4c658a84376a1086126be02f9b7f753caa95e009d9ac38d11da444db
onnxruntime/v1.9.5.zip34767968c9c65cee4864db42c3af9ff5b5cfa32ce1b01d9653136c5f4ff96e18a9b8f2
onnxruntime/v1.17.0.zip1.114942e+0640d4ec942217dcc84a9ebe2a68584ada7d4a33a8ee958755763278ea1c5e18ff
onnxruntime/3cf85e705098622d59056dcb8f5f963ea7bb0a00.zip2.2580852e+07e4af7bc17f1e0bce0e83098af24c3c3c2ade70351c2e29318aff1404a8974544
onnxruntime/v3.11.3.zip8.489998e+0604022b05d806eb5ff73023c280b68697d12b93e1b7267a0b22a1a39ec7578069
onnxruntime/v4.2.1.zip84222c9291d95f5f6e5c561990d06a589b01d89e553d0f366f0ce723dd1788e7a6076
onnxruntime/v1.0.250325.1.zip57734148f7fdc3c7d0b284efae783c1266836b61b63fd0c94749098a60dc8ec78b0725
onnxruntime/v2.1.1.zip1.301043e+0623b1bffb2eff57b1e3cb8edc9410d448db2bb43400206a151e107dcabcad773a
onnxruntime/boost-1.82.0.zip23271681431bdc44c439a324e02c07ed067f8f556419fd86f2d8b486ff568df6aac899
onnxruntime/v1.22.0.zip1.8911779e+078dc1181d33529a1249e031226126d0699ac9bdfc571ee530ee3a12f4656f2be3
onnxruntime/d5dce67db7c2e64b07e055571f5ec06f7f254de2.zip2451715b5c8ea250104d7f21c2f6ebf3c7f69cbcd9201960a69ad1b9019789d306f437
onnxruntime/protobuf-33.6.tar.gz6.888932e+0616498d7dc7967e9b100632138babd4b86b61592beeccdd556f67539d9c231355

Commit history 10

DateCommitCreditsLog message
103dc9c43f Yuri Victorovich misc/py-onnxruntime: update 1.30.0 → 1.31.0
8d6067708c Yuri Victorovich misc/py-onnxruntime: broken on i386
Reported by: fallout
02e2be5276 Yuri Victorovich misc/{,py-}onnxruntime: update 1.27.0 → 1.30.0
27e3810b43 Piotr Kubaj misc/py-onnxruntime: fix build on powerpc64
Don't use VSX if it's not present.
95a580e8f9 Michael Osipov misc/py-onnxruntime: Fix wheel missing the compiled pybind extension
setup.py's per-platform "libs" list decides which capi/ files get bundled into the wheel as package data. It has dedicated branches for Linux (manylinux and non-manylinux), Darwin, and Windows, but none for FreeBSD -- which silently fell through to the Windows-oriented default, whose *.dll/ *.pyd glob patterns never match anything here. The wheel built without error, but ended up missing onnxruntime_pybind11_state.so entirely, along with libonnxruntime_providers_shared.so and the versioned libonnxruntime.so; the port previously worked around this with a manual post-install step that copied the pybind extension in from the raw build tree afterward. Add a FreeBSD branch to setup.py's libs list, mirroring the already-working …

The latest 5 of 10 in the history this site was built from.