← GPU results

gpu/tensornetwork

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
tensornetwork_permutation_optimized_f32tensor_network_contracteager 0.87x trace 0.68xeager 0.64x trace 0.50x---

Charts below are ordered best first (smallest ratio).

tensornetwork_permutation_optimized_f32 tensor_network_contract · n=10

bar = median time (log scale) · shorter (left) is faster · dashed line = PyTorch (108.817 ms)pytorch-cuda108.817 msjax-cuda-tree-jit147.658 mstenferro-cuda-eager94.663 ms · 0.87xtenferro-cuda-trace73.595 ms · 0.68x

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/tensornetwork / tensor_network_contract / allocating output

Problem tenferro-rs CUDA trace tenferro-rs CUDA eager PyTorch CUDA JAX CUDA tree JIT
tensornetwork_permutation_optimized_f32 73.595 94.663 108.817 147.658

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
tensornetwork_permutation_optimized_f32 tenferro-cuda-trace 1 73.8253, 94.0738, 94.0914, 73.1217, 73.5891, 72.0244, 73.1888, 108.646, 73.5987, 73.5913 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
tensornetwork_permutation_optimized_f32 tenferro-cuda-eager 1 94.6241, 102.658, 94.7018, 133.811, 93.3223, 93.4471, 93.4625, 134.758, 98.8616, 92.3022 one entered eager session; input wrapping, transfers, argument handles, initialization and validation outside clocks; native declared dtype; no AD recording
tensornetwork_permutation_optimized_f32 pytorch-cuda 1 108.909, 108.749, 108.923, 108.517, 108.61, 110.244, 108.885, 108.694, 109.277, 108.671 inputs/transfers, plans, compilation, lazy initialization and validation outside clocks; JAX x64/highest; PyTorch TF32 disabled
tensornetwork_permutation_optimized_f32 jax-cuda-tree-jit 1 151.266, 151.798, 147.369, 152.866, 153.128, 138.342, 133.119, 131.233, 145.322, 147.947 inputs/transfers, plans, compilation, lazy initialization and validation outside clocks; JAX x64/highest; PyTorch TF32 disabled