math/py-spox 0.18.0 FreeBSD
Framework for constructing ONNX computational graphs
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
7df1daf180- License
- BSD3CLAUSE
- Categories
- math, python
- Package size
- 351.1 KiB, 5758.4 KiB installed
Description
Spox makes it easy to construct ONNX models through clean and idiomatic Python code.
A common application of ONNX is converting models from various frameworks. This requires replicating their runtime behaviour with ONNX operators. In the past this has been a major challenge. Based on our experience, we designed Spox from the ground up to make the process of writing converters (and ONNX models in general) as easy as possible.
Spox's features include:
- Eager operator validation and type inference
- Errors with Python tracebacks to offending operators
- First-class support for subgraphs (control flow)
- A lean and predictable API
Install
Binary package:
pkg install py312-spox
From the ports tree:
cd /usr/ports/math/py-spox/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-spox>0:math/py-spox
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.18.0 | 0.18.0 | - | - | 0.18.0 |
| FreeBSD:14:quarterly | 0.18.0 | 0.18.0 | n/a | - | 0.18.0 |
| FreeBSD:15:latest | 0.18.0 | 0.18.0 | n/a | - | - |
| FreeBSD:15:quarterly | 0.18.0 | 0.18.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.18.0 | 0.18.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 3
${PYTHON_PKGNAMEPREFIX}numpy>=0,1: math/py-numpy${PYTHON_PKGNAMEPREFIX}onnx>=1.13: misc/py-onnx${PYTHON_PKGNAMEPREFIX}packaging>=0: devel/py-packaging
The full lists below include those, and their dependencies in turn.
Build dependencies 17
Run dependencies 25
- archivers/liblz4
- archivers/zstd
- devel/abseil
- devel/binutils
- devel/gettext-runtime
- devel/jsoncpp
- devel/libffi
- devel/protobuf
- devel/py-packaging
- devel/py-protobuf
- devel/py-typing-extensions
- devel/readline
- lang/gcc14
- lang/python312
- lang/python315
- math/gmp
- math/mpc
- math/mpdecimal
- math/mpfr
- math/openblas
- math/py-ml-dtypes
- math/py-numpy
- misc/py-onnx
- print/indexinfo
- textproc/expat2
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| spox-0.18.0.tar.gz | 591171 | f87c05cbf4d0d4b50464d5a1dd4fa34ec00f83bc11b0c06eac4e6fb1a4f3e5ad |
Master sites 1
- PYPI