Skip to main content

Ornn GPU Benchmarking CLI — run standardized GPU benchmarks, compute Ornn-I/Ornn-T scores, and upload results.

Project description

Ornn GPU Benchmarking CLI

License: MIT Python 3.10+

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-smi on PATH)
  • CUDA Toolkit compatible with your GPU
  • Benchmark tools: nvbandwidth, nccl-tests, mamf-finder.py (see CLI Usage Guide for details)

Note: ornn-bench info and ornn-bench report work 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ornn_bench-0.2.0.tar.gz (219.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ornn_bench-0.2.0-py3-none-any.whl (49.1 kB view details)

Uploaded Python 3

File details

Details for the file ornn_bench-0.2.0.tar.gz.

File metadata

  • Download URL: ornn_bench-0.2.0.tar.gz
  • Upload date:
  • Size: 219.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ornn_bench-0.2.0.tar.gz
Algorithm Hash digest
SHA256 708c9bb48acccbb60afdd9a26cfc40f34d7daab82e4d95dbb0a0dd388a5e7478
MD5 d07bcaca26a44452740899f55982df88
BLAKE2b-256 72e9b77fd4c8b60643ed82c906aae82996bdb1a051f3778a7ec0495f6a4d4eb7

See more details on using hashes here.

Provenance

The following attestation bundles were made for ornn_bench-0.2.0.tar.gz:

Publisher: publish.yml on Ornn-AI/ornn-benchmarking

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ornn_bench-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: ornn_bench-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 49.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ornn_bench-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e64e4cf5fb5fe6aa5a8d2256e860bee59b08e6a2b33abad4edacc7bcc587bca1
MD5 216583dfc20b51505930413304413754
BLAKE2b-256 25b12bba67ec1f748a1adaafaad9c71fd3f2ecc8b128290767e441349e2e03d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for ornn_bench-0.2.0-py3-none-any.whl:

Publisher: publish.yml on Ornn-AI/ornn-benchmarking

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page