Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Inference Artifact Lab

Inference Artifact Lab is a clean-room, public-by-design project for validating machine-learning deployment artifacts before release. Its first product increment is the Model Release Gate: a reproducible gate for artifact integrity, input/output contracts, runtime correctness, and environment compatibility.

The project uses public models, public datasets, and generated fixtures. It does not train models, provide a general model-serving gateway, or claim model quality beyond the declared validation evidence.

Current status

Development preview: public SqueezeNet CPU and TensorRT smoke runs are recorded. Phase 1 acceptance remains incomplete; report delivery and clean reproduction need further work. See publication review for known limitations. The commands below are development examples, not a verified from-scratch reproduction procedure.

Planned flow

public model
  -> source and artifact manifest
  -> export/build
  -> integrity and contract checks
  -> reference/runtime equivalence checks
  -> environment compatibility checks
  -> resource benchmark
  -> machine-readable release report

Run the public-reference smoke gate with:

uv run --with torch --with torchvision --with onnx --with onnxruntime python scripts/run_torchvision_gate.py

It writes reports/phase-1/squeezenet11-torchvision-onnx-cpu.json.

Build and verify the TensorRT profile after pulling the pinned public image:

pwsh scripts/build_tensorrt_engine.ps1
pwsh scripts/benchmark_tensorrt_engine.ps1
docker run --rm --gpus all -v "${PWD}:/workspace" -w /workspace `
  -e MODEL_RELEASE_GATE_CONTAINER_DIGEST=sha256:814325e2b8a653f354c30bbcf5ecc8d4c780cf878a88a320ae648fbfdd9dd82d `
  nvcr.io/nvidia/tensorrt:25.02-py3 bash -lc `
  "python -m pip install --quiet --index-url https://pypi.org/simple cuda-python==12.8.0; `
   PYTHONPATH=/workspace/src python scripts/run_tensorrt_in_container.py `
   --engine artifacts/squeezenet1.1-fp32.engine `
   --fixture artifacts/squeezenet11-fixture.npy `
   --output artifacts/squeezenet11-tensorrt-output.json"
uv run --with numpy==2.4.6 python scripts/compose_tensorrt_report.py `
  --trtexec-log reports/phase-1/tensorrt-trtexec-benchmark.log

The generated TensorRT report includes the contract, engine digest, fixture equivalence, declared GPU/container fingerprint, and trtexec benchmark scope.

Render any JSON report for review with:

uv run python scripts/render_report.py reports/phase-1/squeezenet11-tensorrt.json

The report contract is defined by schemas/release-report.schema.json. A clean CPU reproduction starts with pwsh scripts/clean_reproduction.ps1 in a fresh checkout.

After generating the public fixture and reference output, the package CLI can execute the ONNX CPU adapter directly:

python -m inference_artifact_lab examples/squeezenet11-torchvision.manifest.json `
  --runtime onnx-cpu --inputs-npy artifacts/squeezenet11-fixture.npy `
  --reference-output reference-output.json --environment environment.json `
  --report reports/phase-1/cli-onnx-cpu.json

The authoritative development documentation follows the same phase/stage model used by the other portfolio repositories. Start at the Codex document index, then read the product contract and Phase 1 plan.

For the human-readable brief and clean-room record, see Product Requirements, Acceptance Contract, and Clean-room Record.

Metadata

Release files for inference-artifact-lab 0.1.0.dev0

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

Source distribution (sdist)

Source distribution for inference-artifact-lab 0.1.0.dev0
File Size Uploaded
inference_artifact_lab-0.1.0.dev0.tar.gz 22.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for inference-artifact-lab 0.1.0.dev0
File Interpreter ABI Platform
inference_artifact_lab-0.1.0.dev0-py3-none-any.whl Python 3 none any Details

Total release size: 42.4 kB

Release files / inference_artifact_lab-0.1.0.dev0.tar.gz

Download URL inference_artifact_lab-0.1.0.dev0.tar.gz
Size 22.4 kB
Tags Source
SHA-256 checksum
How to use checksums
077f9887135e09841eb9cf62d430c40151370ae6aa6f30b9d64136b42db13e45
BLAKE2b-256 checksum
How to use checksums
12426d1be1b722bbc5325224b392bcca318de28dfe49f997be3d027c0677c5ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / inference_artifact_lab-0.1.0.dev0-py3-none-any.whl

Download URL inference_artifact_lab-0.1.0.dev0-py3-none-any.whl
Size 19.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
34ba5c352d47cf9403dcc50b3c6dbf5c6d116e0412eb96d5990102132c695b75
BLAKE2b-256 checksum
How to use checksums
e06b80759990037c0607feee6544cfc10cdd2f650a063e4e343eee0ac6fb9197
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.0.dev0 This release

2 release files

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