← GPU results

gpu/einsum

profile: nvidia-gpuhardware: NVIDIA A100 80GB PCIedate: 2026-11-21 08:23:11Ztenferro: ce9125d0cff4unit: ms
Accepted result provenance. Source run 44883416365, attempt 1 · raw artifact 14700186475 · provenance and SHA-256 digests. Raw artifacts have finite retention; this artifact download availability ends at 2027-02-19T08:07:55Z (GitHub access required). Expired artifacts are not replaced by another run.

Throughput-regime cases (1)

Grouped by the regime the suite declares. This regime is a workload class, not a measured compute- or bandwidth-bound classification: a memory-bound case can take the same time here as at a small shape.

Absolute medians on a log time axis. Bars are shorter for faster calls; the dashed line is the best reference for each case.

casegroupvs PyTorchvs JAXnot measurednot okflags
einsum_bin_matmul_3072_f64einsumeager 1.00x trace 1.00xeager 0.94x trace 0.94x---

Charts below are ordered best first (smallest ratio).

einsum_bin_matmul_3072_f64 einsum · n=7

bar = median time (log scale) · shorter (left) is faster · dashed line = PyTorch (3.191 ms)pytorch-cuda3.191 msjax-cuda3.403 mstenferro-cuda-eager3.189 ms · 1.00xtenferro-cuda-trace3.189 ms · 1.00x

Original report

GPU Benchmark Results

GPU Information

CPU Information

Median time is reported in milliseconds for ok records. Inputs are prepared on the GPU before timed runs; initial host-to-device transfer is outside the timed region. Timed runs include the host API call and backend-native device synchronization. tenferro-rs CUDA uses the explicit tenferro-rs synchronize API without downloading result tensors in the timed region. Dense and einsum inputs use the same deterministic benchmark generator in the Rust and Python runners; host-to-device layout conversion remains outside the timed region. tenferro-rs uses native column-major GPU tensors; PyTorch and vendor-wrapper columns use their native row-major framework tensors unless noted. The cuSOLVER column is torch.linalg with preferred_linalg_library=cusolver; for SVD it pins driver=gesvd as a QR-based cuSOLVER comparison. tenferro-rs CUDA SVD uses its backend default driver policy, currently gesvdj for matrices with both dimensions at most 1024 and gesvd otherwise. Non-ok cells show the structured backend status.

gpu/einsum / einsum / allocating output

Problem tenferro-rs CUDA trace tenferro-rs CUDA eager PyTorch CUDA JAX CUDA JIT
einsum_bin_matmul_3072_f64 3.189 3.189 3.191 3.403

Sampling

JAX uses compiled JIT execution; compilation, planning and numerical checks are outside timing. PyTorch uses eager execution. Samples retain every output until native synchronization and clock stop. Values are normalized per declared operation.

Problem Backend Ops/sample Raw batch ms Setup and precision
einsum_bin_matmul_3072_f64 tenferro-cuda-trace 1 3.18916, 3.18954, 3.18853, 3.19005, 3.18847, 3.18942, 3.19047 one caller-held CUDA engine for every sample; each Runtime::run call pays its own device-completion barrier inside the batch interval; inputs, plans and compilation outside clocks; native declared dtype; no AD recording
einsum_bin_matmul_3072_f64 tenferro-cuda-eager 1 3.18947, 3.18683, 3.18961, 3.18653, 3.18624, 3.19206, 3.20083 one entered eager session; input wrapping, transfers, argument handles, initialization and validation outside clocks; native declared dtype; no AD recording
einsum_bin_matmul_3072_f64 pytorch-cuda 1 3.19127, 3.19469, 3.19037, 3.18925, 3.19358, 3.19312, 3.1887 inputs/transfers, plans, compilation, lazy initialization and validation outside clocks; JAX x64/highest; PyTorch TF32 disabled
einsum_bin_matmul_3072_f64 jax-cuda 1 3.37584, 3.41344, 3.40287, 3.42475, 3.87421, 3.37253, 3.36644 inputs/transfers, plans, compilation, lazy initialization and validation outside clocks; JAX x64/highest; PyTorch TF32 disabled