pengdurice
pengdurice
# What does this PR do? This PR adds additional details so that accelerate continues support using Megatron-LM as backend for training large scale LLMs. In details: 1. initialize the...
## What does this PR do ? Fix the bug of optimizing on random initialized model weights when a very very corner case combination is used when cpu offloading +...
# What does this PR do ? **Support Linear CE Loss Fusion for GRPO.** On top of #2036 (SFT) and #2139 (DPO), this PR extends the chunked linear cross-entropy fusion...
**Describe the bug** Two related problems in the AutoEP module-replacement path under ZeRO-3, both visible as memory that should not be resident: 1. **Init-time transient scaling as `1/autoep_size`.** `_configure_expert_parallel` builds...
# [DeepCompile] Fix AutoTP compile pass silently dropping tensor-parallel collectives ## Summary The AutoTP compile pass can leave a tensor-parallel layer with **no collective at all** — neither the module-level...
**Describe the bug** AutoEP silently discards `e_score_correction_bias` when replacing an MoE block, for most model families. The bias is DeepSeek-V3's auxiliary-loss-free load-balancing term ("noaux_tc"): a `[num_experts]` tensor added to the...
**Describe the bug** Under ZeRO-3, a parameter that has been released can be marked `AVAILABLE` while its storage holds zero elements. Every later fetch trusts that flag and skips the...
# ZeRO-3: `_prepare_fp32_grad_for_sub_group` clears every parameter's gradient once per sub-group **Describe the bug** In ZeRO-3, the optimizer step clears gradients for **every parameter in every sub-group, once per sub-group**. The...
# Triton SwiGLU and AutoEP fused restore kernels use int32 offsets: illegal memory access above 2^31 elements **Describe the bug** `deepspeed/ops/triton_ops/swiglu_triton.py` computes element offsets in int32. When the input has...
**Is your feature request related to a problem? Please describe.** During training, especially when the context window is long, we usually run into OOM issues. The OOM may happen during...