Cutting GRPO Loss VRAM by 67% with Fused Triton Kernels
Using online Softmax tiling, activation recomputation, and a custom torch.autograd.Function to eliminate [B, S, V] log_softmax materialization—dropping peak loss VRAM from 7.1 GB to 2.4 GB with a 2.96× speedup on an A100.
