AWS Trainium 4's CPTC coding hits 98% effective 4-bit precision, compresses KV cache 3.54x

bookwormengr · x · 2026-12-04

AWS Annapurna Labs' Ron Diamant presented CPTC (Computed Permutation Trellis Coding) for Trainium 4 at re:Invent. Today's 4-bit formats deliver 3 effective bits; CPTC jointly encodes up to 256 values, reaching 98% effective precision vs 74% for MXFP4 and 75% for NVFP4. In AWS benchmarks it compressed the KV cache 3.54x with only a 0.65-point accuracy hit, while NVFP4, TurboQuant and even FP8 lost 3+ points. The new SRAM-based Trainium3 SR decode chip ran Qwen3.5-397B at 3,012 output tokens/s per user (2.8x Google's TPU7x) and GPT-OSS-120B at 5,192 tokens/s. Commentators see CPTC as a potential moat for AWS custom silicon.

Original post →

More from Infra

Infra channel →