Just upgrading onnxruntime-gpu 1.23→1.31 with CUDA 13 made SAM 3 inference 3.8x faster

MaziyarPanahi · x · 2026-11-03

Maziyar Panahi shares a free win: his malaria detection pipeline (SAM 3 ONNX model on an L4 GPU) got 3.8x faster over the weekend with zero model changes — just upgrading onnxruntime-gpu from 1.23 to 1.31 with its CUDA 13 libraries.

A/B benchmark (20 runs per word): "cell" outlines median 0.529s → 0.139s; total 1.06s → 0.28s for both words, with every bounding box identical to 0.0 px. Takeaway: if your ONNX model feels slow on GPU, check the runtime version first.

Original post →

More from Infra

Infra channel →