Boosting Matrix Multiplication Speed and Flexibility with NVIDIA cuBLAS 12.9

AI-generated summary of reporting by NVIDIA Developer Blog. Read the original for the full story.

Why it matters

Teams training or running LLMs on NVIDIA GPUs can now cut matrix-multiply time and energy by upgrading cuBLAS to 12.9, a free library update rather than new hardware.

Read this as

NVIDIA has updated cuBLAS, a free software library that makes the matrix multiplications at the heart of AI training run faster. Version 12.9 adds smarter number-precision tricks: on NVIDIA's newest Blackwell chips, low-precision FP4 math runs up to 4.6 times faster than FP8, and emulated 32-bit math runs 3-4 times faster than before. Only people using NVIDIA GPUs are affected, and gains apply to the math step, not whole applications.

cuBLAS 12.9 is a free CUDA Toolkit 12.9 update, so adopting it costs engineering time, not licensing fees. Benchmarked on B200 and GB200 chips, real LLM training and inference matrix multiplications ran 1.7x to 2.2x faster than on the older H200, with FP4 emulation hitting 6,787 TFLOP/s. The catch: headline gains are for matrix multiplications only, and the biggest FP4 advantages require Blackwell hardware, so organizations on Hopper or older GPUs see smaller wins.

cuBLAS 12.9 adds channel-wide and block-scaled FP8 on Hopper (up to 1.75x over BF16 baselines, at least 1.25x in nearly all tested sizes) and native 1D block-scaled FP4/FP8 GEMMs on Blackwell Tensor Cores via cuBLASLt APIs (CUDA_R_4F_E2M1 with 16-element blocks; CUDA_R_8F with 32-element blocks). Compute-bound FP4 on GB200 reaches 4.6x over H200 FP8 (6,787 TFLOP/s); LLM workload geomean speedups are 1.7x-2.2x. BF16-based FP32 emulation is 3-4x faster than native FP32, with 1.4x performance and 1.3x energy gains in a weather forecasting kernel. FP64 emulation remains in development.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

cuBLAS NVIDIA CUDA Toolkit 12.9 Blackwell H200 GB200 B200

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading

datasette-charts 0.5a0

Datasette Charts 0.5a0 adds calendar heatmaps, box plots and active-over-time charts, enabling richer data visualisation directly in the browser without extra libraries.