Accelerating Long-Context Inference with Skip Softmax in NVIDIA TensorRT-LLM

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

Why it matters

Engineers running long-context LLM inference on NVIDIA GPUs can now enable a retraining-free sparse attention mode in TensorRT-LLM that cuts prefill time by up to 1.4x, but must stay near 50% sparsity to avoid accuracy collapses.

Read this as

NVIDIA has added a speed-up technique called Skip Softmax to its TensorRT-LLM software, which companies use to run large language models. When a model reads a long document, it wastes effort on words that barely matter; Skip Softmax spots and skips those parts without retraining the model. On a test using Llama 3.3 70B at 128,000 words of context, reading the prompt was up to 1.4x faster. It suits teams deploying AI chatbots or document analysis on NVIDIA's newest data centre chips.

Teams serving long-context models on NVIDIA Hopper or Blackwell GPUs can cut inference cost and latency by enabling Skip Softmax in TensorRT-LLM, no retraining required. NVIDIA reports up to 1.4x faster prefill and a projected 1.36x decode speedup on Llama 3.3 70B at 128K context on GB200 NVL72. The main risk is accuracy: skipping roughly half the attention blocks is near-lossless, but going beyond 60% causes sharp drops, so calibration matters. Competing stacks without similar sparse attention may be at a cost disadvantage.

Skip Softmax modifies the FlashAttention kernel: when a key block's local max logit falls below the running global max minus a threshold (scaled as 1/context length), the kernel skips softmax, BMM2, and loading the value block from HBM. It works with MHA, GQA, and MLA without retraining, and is configured via SkipSoftmaxAttentionConfig with separate prefill/decode threshold_scale_factor values. Benchmarks on Llama 3.3 70B / GB200 NVL72 show 1.4x prefill and 1.36x projected decode speedup at 128K. RULER and LongBench testing on Llama 3.1 8B and Qwen3-8B found ~50% sparsity near-lossless; beyond 60% accuracy drops sharply, and calibration will ship in NVIDIA Model Optimizer.

Read the original

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

Key terms

NVIDIA TensorRT-LLM Skip Softmax Llama 3.3 70B GB200 NVL72 FlashInfer BLASST

Was this summary useful?

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

Related reading