Skip to content

Benchmarks

The suite measures eager forward, backward, startup, and cumulative behavior. benchmarks/config.json is the source of truth for the operation matrix and its dimension bounds.

Latest Published Run

Run 20260714T022923.928479Z-4fa5b24ebc on macOS-26.5.2-arm64-arm-64bit with PyTorch 2.10.0 and 5 Torch threads.

  • successful rows: 15882
  • skipped cases: 0
  • errors: 0
  • cumulative samples: 720

Coverage

sweep layout dimensions signatures cases dtypes batches compiler modes
compact_layout compact 2–63 186 22 float32, float64 1, 16 eager
full_layout full 2–8 21 17 float32, float64 1 eager

Result Audit

  • Output finiteness: 15882/15882 rows contain only finite values.
  • Gradient finiteness: 15882/15882 measured gradients contain only finite values.
  • Timing stability: 31 rows have a forward IQR greater than 50% of their median. These are retained rather than silently filtered.
  • Repeated action, euclidean: median float32 maximum relative error after 512 steps is 3.506e-05.
  • Repeated action, mixed: median float32 maximum relative error after 512 steps is 1.785e-05.
  • Repeated action, degenerate: median float32 maximum relative error after 512 steps is 9.752e-06.

Graphs

Operation panels use Euclidean float32 with batch 1. Solid lines are forward latency; dashed lines are forward plus backward.

Compact Layout

Compact products

Compact linear and metric operations

Compact exponentials and actions

Full Layout

Full-layout products

Full-layout linear and metric operations

Full-layout actions

Execution Routes and Startup

Compact exponential execution routes

Setup and cold-call costs

Repeated-operation Numerics

Float32 trajectories are compared with float64 trajectories.

Cumulative relative error

Reproduce

uv run --group benchmark benchmarks/run.py

See the published configuration for the complete matrix.

Artifacts

JSONL contains raw samples and complete measurement fields. CSV contains the same rows in tabular form.