ApexW: a Triton PyTorch optimizer that halves optimizer-state memory, 1.5x faster steps

Ready_Parking_5435 · reddit · 2026-10-27

A developer released ApexW, a PyTorch optimizer using compact optimizer states and a Triton execution path. On workloads with a few large tensors it's 1.5x faster than PyTorch's fused AdamW and cuts optimizer-state memory roughly in half — useful for LLM fine-tuning workloads hitting OOM, enabling larger batches or models.

Honest trade-offs disclosed:

Code on GitHub; author seeks feedback on benchmarks and implementation.

Original post →

More from Infra

Infra channel →