ResearchResearch paperEfficiency & Inference1 source · Oct 16, 2026

FuTransformer: FP8 prefill and INT4 decode for Llama-style inference on Hopper

We present FUTRANSFORMER, a CUDA implementation of a Llama-style Transformer block for NVIDIA Hopper GPUs.

Key points

  • Transformer prefill reuses weights across tokens and is dominated by matrix multiplication and activation data movement; single-token decode has limited reuse and is dominated by weight and KV-cache reads.
  • It applies CODA's GEMM-plus-epilogue approach to inference, adding direct KV-cache placement, folding the fixed RMSNorm gain into weights, writing FP8 output directly with delayed scaling, and supporting prefill without padding.
  • A block-diagonal Hadamard transform reduces cache quantization error from outlier channels.
  • Across 8B and 70B shapes at batches 1-32, INT4 decode is 1.3-2.4x faster than the faster of PyTorch's BF16 and INT4 blocks at each point: 2.1-3.3x faster than compiled, CUDA-graphed BF16 and 1.3-6.3x faster than the same block using PyTorch's INT4 projection kernel, which targets a single query row and loses to BF16 at batch 32.

Sources (1)

  • [1]FuTransformer: FP8 prefill and INT4 decode for Llama-style inference on Hopper
    arXiv (AI, ML, NLP, CV, robotics, multi-agent) · Oct 16, 05:22 PM
    We present FUTRANSFORMER, a CUDA implementation of a Llama-style Transformer block for NVIDIA Hopper GPUs.
    Transformer prefill reuses weights across tokens and is dominated by matrix multiplication and activation data movement; single-token decode has limited reuse and is dominated by weight and KV-cache reads.

Extractive summary: sentences quoted from the sources.

Before this

  1. Oct 16, 2026Welcome Beam: a 501B open model you can own, customize, and scale
  2. Oct 16, 2026Towards Looped Models Done Right, Part I: Topology, Input Injection, Recurrent-State Design
  3. Oct 15, 2026Granite Switch 4.1: Chat, Decisions, and Speech from One Endpoint
  4. Oct 15, 2026RoleQ: Role-Aligned Scales for Converting Language Models to Ternary
  5. Oct 15, 2026Welcome FLUX.3 Image Klein in Diffusers
  6. Oct 15, 2026Local and Distributed Large LLM Inference with MLX and RDMA on Mac Studio

Related