Generate & export
Export a deterministic model to ONNX, then create a model repository with a matching version directory and configuration.
python -m inferbench.cli export
python -m inferbench.cli triton-repo --out model_repositoryA practical path from model shapes and batching to measured results and Triton serving. Explore real ResNet-18 results from an Apple M1, then follow the NVIDIA deployment runbook—without mistaking them for GPU measurements.
Generate a starter config.pbtxt, then change batch settings to see how the model contract changes.
Loading the worked example…max_batch_size is greater than zero. Input dimensions describe one sample.Load an inferbench report or a flat vLLM-style LLM summary. The Space parses results; it does not run a benchmark.
CUDA, TensorRT, and Triton were unavailable on the recorded host. These are not NVIDIA GPU results.
Illustrates TTFT, TPOT, ITL, request latency and token throughput fields. Use the button below to load this format example.
A compact path from an ONNX model to Triton. Validate every engine on the target GPU before publishing performance claims.
Export a deterministic model to ONNX, then create a model repository with a matching version directory and configuration.
python -m inferbench.cli export
python -m inferbench.cli triton-repo --out model_repositoryRun the NVIDIA Triton Server container with GPU access and mount the generated model repository.
docker run --gpus=all --rm \
-p8000-8002:8000-8002 \
-v "$PWD/model_repository:/models" \
nvcr.io/nvidia/tritonserver:24.08-py3 \
tritonserver --model-repository=/modelsRecord the host, batch size, warm-up, iterations, latency percentiles, throughput, and accuracy drift for each available backend.
python -m inferbench.cli bench \
--batch 32 --iterations 200Triton model configuration docs ↗Hugging Face Docker Spaces ↗Source repository ↗