Ornn GPU Benchmarking CLI — run standardized GPU benchmarks, compute Ornn-I/Ornn-T scores, and upload results.
Project description
Ornn GPU Benchmarking CLI
A standardized GPU benchmarking framework that runs 30+ benchmarks across compute, memory, and interconnect categories, computes Ornn-I (Inference) and Ornn-T (Training) composite scores, and qualifies GPUs as Premium, Standard, or Below grade.
Features
- Full Section 8 Runbook — Pre-flight inventory, compute (MAMF), memory (nvbandwidth), interconnect (NCCL), thermal monitoring, and post-flight checks
- Composite Scoring — Ornn-I and Ornn-T scores with deterministic qualification grading
- Beautiful Terminal Output — Rich-powered progress bars, colored scorecards, and qualification badges
- JSON Reports — Machine-readable reports with complete benchmark data and manifest
- Cloud Upload — Submit results to the Ornn API with idempotent retry-safe uploads
- Score Verification — Server-side recomputation to validate local scores
- Multi-GPU Support — Per-GPU isolation, scoring, and minimum-based aggregation
Quick Start
Install
pip install ornn-bench
Run Benchmarks
# Full benchmark suite
ornn-bench run
# Compute benchmarks only
ornn-bench run --compute-only
# Memory benchmarks only
ornn-bench run --memory-only
# Run and upload results
ornn-bench run --upload --api-key YOUR_KEY
Check Your Environment
ornn-bench info
View a Saved Report
ornn-bench report ornn_report_abc12345.json
Upload a Report
ornn-bench upload ornn_report_abc12345.json --api-key YOUR_KEY
Scoring
The scoring engine computes two composite scores:
| Score | Formula | Components |
|---|---|---|
| Ornn-I (Inference) | 55 × (BW / BW_ref) + 45 × (FP8 / FP8_ref) |
Memory bandwidth + FP8 compute |
| Ornn-T (Training) | 55 × (BF16 / BF16_ref) + 45 × (AR / AR_ref) |
BF16 compute + all-reduce bandwidth |
Qualification Grades
| Grade | Composite Gate | Floor Checks |
|---|---|---|
| Premium | ≥ 90 | Ornn-I ≥ 80 AND Ornn-T ≥ 80 |
| Standard | ≥ 70 | Ornn-I ≥ 60 AND Ornn-T ≥ 60 |
| Below | < 70 | — |
Requirements
- Python 3.10+
- NVIDIA GPU with drivers installed (
nvidia-smion PATH) - CUDA Toolkit compatible with your GPU
- Benchmark tools:
nvbandwidth,nccl-tests,mamf-finder.py(see CLI Usage Guide for details)
Note:
ornn-bench infoandornn-bench reportwork on machines without GPU hardware.
Documentation
| Document | Description |
|---|---|
| CLI Usage Guide | All commands, flags, output formats, and troubleshooting |
| API Reference | Endpoints, schemas, authentication, error codes, rate limits |
| Deployment Guide | GCP setup, environment variables, deploy commands, verification |
| Architecture | System components, data flow, scoring pipeline, deployment topology |
| Contributing | Development setup, code style, testing, and PR workflow |
Development
# Clone and install
git clone https://github.com/Ornn-AI/ornn-benchmarking.git
cd ornn-benchmarking
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
# Run tests
pytest -q
# Lint
ruff check .
# Type check
mypy src api
License
This project is licensed under the MIT License. See pyproject.toml for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ornn_bench-0.1.0.tar.gz.
File metadata
- Download URL: ornn_bench-0.1.0.tar.gz
- Upload date:
- Size: 173.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9656ef1d9b917300a81fd51ad2baa1ee946255cfa621c058b6e6032cfbd845a
|
|
| MD5 |
34541cca90afdf0127ef0529cde2e37a
|
|
| BLAKE2b-256 |
c828f8b2a7c90612a43b2e25c83f4434910828828137755ef40f9c40af6e0fcc
|
Provenance
The following attestation bundles were made for ornn_bench-0.1.0.tar.gz:
Publisher:
publish.yml on Ornn-AI/ornn-benchmarking
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ornn_bench-0.1.0.tar.gz -
Subject digest:
a9656ef1d9b917300a81fd51ad2baa1ee946255cfa621c058b6e6032cfbd845a - Sigstore transparency entry: 1005352587
- Sigstore integration time:
-
Permalink:
Ornn-AI/ornn-benchmarking@831707b3a76624b967d2cba534e590e04ed4c5d9 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Ornn-AI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@831707b3a76624b967d2cba534e590e04ed4c5d9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ornn_bench-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ornn_bench-0.1.0-py3-none-any.whl
- Upload date:
- Size: 44.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90884eed92f5fbbca85c1f69cdbd42b06758889a497611ec3b16dbc519474063
|
|
| MD5 |
ba9540ddfd2cfb7bb2371998e8661f42
|
|
| BLAKE2b-256 |
acf97c7b733a8cdaea98bc7e96c1bc40f3a4b8b763b6895476fbd6ca2a3de1da
|
Provenance
The following attestation bundles were made for ornn_bench-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on Ornn-AI/ornn-benchmarking
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ornn_bench-0.1.0-py3-none-any.whl -
Subject digest:
90884eed92f5fbbca85c1f69cdbd42b06758889a497611ec3b16dbc519474063 - Sigstore transparency entry: 1005352589
- Sigstore integration time:
-
Permalink:
Ornn-AI/ornn-benchmarking@831707b3a76624b967d2cba534e590e04ed4c5d9 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Ornn-AI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@831707b3a76624b967d2cba534e590e04ed4c5d9 -
Trigger Event:
push
-
Statement type: