Megadose AI progress, ranked daily.

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

· ArXiv · AI/CL/LG ·
On one H100, FuTransformer reports Llama-3.1-8B decode at 2.8 milliseconds per step, versus 8.1 milliseconds for compiled Transformers, at batch one.

The CUDA implementation uses FP8 for prefill and INT4 projection weights and KV-cache storage for decode. Prefill runs up to 1.48× faster than compiled PyTorch FP8; INT4 decode across 8B and 70B block shapes is 1.3–2.4× faster than the faster PyTorch BF16 or INT4 baseline at each tested point. The speed comes with an accuracy cost: WikiText-2 perplexity rises from 6.24 to 6.99 with GPTQ-quantized weights, and the rotated INT4 cache adds another 0.20.

ArXiv · AI/CL/LG's note

score 5

Categories: Research