Skip to main content

oaax-conformance

Checks whether an OAAX runtime (a shared library) or toolchain (a Docker image) follows the OAAX specification. A pass means: this runtime or toolchain can be swapped for another one without code changes.

  • Strict: talks to the runtime's C API directly, never through a tolerant wrapper.
  • Each failure says what to fix: it names the specification clause.
  • Safe on real hardware: time-budgeted loops, capped request sizes, a slow device is BLOCKED and never FAIL, --hardware-safe leaves out the abusive tests.
  • No compiler needed: the wheel contains the C harness (Linux x86_64 and aarch64, Windows x64).

Install

Needs uv on Linux (the runtime tier also runs on Windows x64), and Docker to test toolchains. The wheel needs Python 3.12 or newer; uv fetches it if your default is older.

uv tool install --python 3.12 'oaax-conformance[e2e]'

[e2e] adds onnx and onnxruntime: reading .onnx models and the end-to-end comparison. Without it you still get the toolchain tier and the runtime tier with --input.

Use

# a runtime: the .so and a model it can load
oaax-conformance runtime ./libRuntimeLibrary.so --model model.onnx [--init-config key=value]... [--out DIR]

# a toolchain: its Docker image, optionally with a runtime for the end-to-end check
oaax-conformance toolchain oaax-<vendor>-toolchain:<tag> [--runtime ./libRuntimeLibrary.so] [--out DIR]

No --model: the tests that send requests are BLOCKED and the run is INCOMPLETE. Open report.html in --out to see what each check did.

Try it without any vendor files, on the reference CPU runtime (about 20 seconds, @tiny-conv is a small model the wheel ships):

mkdir -p /tmp/rt && curl -sSL https://nbg1.your-objectstorage.com/oaax/runtimes/2.0.0/CPU/x86_64/Ubuntu/library.tar.gz | tar xz -C /tmp/rt   # arm machine: aarch64
oaax-conformance runtime /tmp/rt/libRuntimeLibrary.so --model @tiny-conv --out /tmp/report-rt

The reference runtime has known issues, so exit code 1 is the expected result here. A minimal machine needs libgomp1 and binutils.

What it checks

Tier Needs Checks
runtime/static the .so only exported symbols, getters, calls before init
runtime/lifecycle a working init init/cleanup rules, error text, cycles, threads, unload, memory, exit
runtime/model a model the runtime can load enqueue/retrieve, id echo, multi-model routing, timeouts, concurrency, input validation, leaks
toolchain the Docker image arguments, exit codes, log, runs without root / network / with a read-only input, hostile input
e2e both convert, load, run, compare with the ONNX reference

Every test has a level: MUST (required by the specification: a failure fails the run), SHOULD (recommended: a warning) or PROPOSED (planned for the next version: a warning). Every test is specified, with the quoted clause, in the test documentation.

Results

Exit code Meaning
0 no MUST check failed
1 a MUST failed
2 INCOMPLETE: nothing failed, but a MUST could not run (for example init needs vendor keys: pass them with --init-config)
3 bad command line, missing file, Docker or image
4 a check of the suite itself crashed: please report it

With --out DIR it writes report.html (self-contained, prints to PDF), report.json (for tools and archives) and junit.xml (for CI). Reports never contain the values of --init-config or of docker environment variables.

Apache 2.0.

Metadata

Release files for oaax-conformance 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for oaax-conformance 0.2.0
File Interpreter ABI Platform Actions
oaax_conformance-0.2.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for oaax_conformance-0.2.0-py3-none-win_amd64.whl
oaax_conformance-0.2.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for oaax_conformance-0.2.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
oaax_conformance-0.2.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for oaax_conformance-0.2.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Total release size: 341.7 kB

Release files / oaax_conformance-0.2.0-py3-none-win_amd64.whl

Download URL oaax_conformance-0.2.0-py3-none-win_amd64.whl
Size 114.3 kB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
d9a819baeb34d7058b44af4c81815977a85979770d08d1eedea5ecf2c5b30b91
BLAKE2b-256 checksum
How to use checksums
6ae1d4388e7c246b40c16d7bf51b326d1abd97068cfced5fceba6024cc8a7f42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.

Transparency log

Release files / oaax_conformance-0.2.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL oaax_conformance-0.2.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 113.1 kB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
fe88ef5f5d66b2b131649d05199ad4341f514310a71926452dfaf3f186eb0176
BLAKE2b-256 checksum
How to use checksums
ebe90cbabf918fee9bd538b416655919485308d10907971cc6d57bf400773f86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.

Transparency log

Release files / oaax_conformance-0.2.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL oaax_conformance-0.2.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 114.3 kB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
f60b08a2a02bbf7fa2c4f7f0464fba95a32639a71c392fdffb12956255eb6876
BLAKE2b-256 checksum
How to use checksums
5d853cd3bccd107e5b8bb6a57114f9ec1659199465f591c2f99265dac84b59b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.

Transparency log

Security for oaax-conformance 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 3 files in this release have been uploaded with provenance metadata.

Select from 3 files

Attestation for oaax_conformance-0.2.0-py3-none-win_amd64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page