Back to browse
GitHub Repository

Tiered optimizer state allocation for memory-efficient MoE training. Cuts optimizer memory by 97.4%, outperforming AdamW/Muon/Lion while fitting a 6.78B MoE on a single 40GB GPU.

1 starsPython

SkewAdam – A tiered optimizer that cuts MoE state memory by 97%

by anonnumaan·Jul 22, 2026·2 points·0 comments

AI Analysis

●●●BangerWizardryBig Brain

Fits a 6.78B MoE on a single 40GB GPU by skewing optimizer state.

Strengths
  • Cuts optimizer state from 50GB to 1.29GB by dropping momentum on experts.
  • Achieves lower validation perplexity than AdamW and Muon on identical batches.
  • Tiered allocation treats backbone, experts, and router parameters differently.
Weaknesses
  • Implementation currently limited to PyTorch 2.x and specific MoE architectures.
  • Requires manual integration into existing training loops rather than drop-in.
Category
Target Audience

ML researchers and engineers training Mixture-of-Experts models

Similar To

DeepSpeed · FSDP · bitsandbytes

Similar Projects