nathon
nathon
fix: correct margin calculation in DPO training Remove redundant dpo_beta multiplication in margin computation. The chosen_rewards and rejected_rewards already include the dpo_beta factor, so margin should not multiply by dpo_beta...
Change "also releases" to "also released" to use correct past tense when describing already published research paper and data. Fixes #157
fix: #165 correct pig latin training examples for proper consonant cluster handling - Fix "split" → "it-splay" (move entire "spl" consonant cluster) - Fix "quantum" → "antum-quay" (treat "qu" as...
### PR Title Fix minor comment/docstring typos in runtime and inference modules ### PR Description While reviewing the codebase, I noticed a few small wording issues in comments and docstrings....
## Summary Fix ZeRO-3 so two separate backward passes on the same forward graph work correctly when `retain_graph=True` is used on the first backward. ### What changed - Propagate `retain_graph`...
## Summary This PR adds initial support for **elastic checkpoints in ZeRO Stage 3**. Today, ZeRO-3 checkpoints are tied to the data-parallel world size used at save time. If the...
refactor: replace bare global vars in torch_autocast with _AutocastState TORCH_AUTOCAST_INITIALIZED and TORCH_AUTOCAST_DTYPE were module-level globals mutated via `global` statements inside init_autocast_params(). This pattern is fragile: it is invisible to type...
`MVAPICHRunner.backend_exists` calls `warnings.warn` without `stacklevel`, so Python reports the warning as coming from inside DeepSpeed rather than the user's code. Adding `stacklevel=2` fixes the reported call site. No functional change.
## Title Fix Stage 0 + Ulysses crash: make `bwc_tensor_model_parallel_rank()` resilient to MP API absence ## Summary This PR fixes a hard crash when using Ulysses sequence parallelism with ZeRO...
fix(zero): Ensure full gradient reduction for Muon optimizer with reduce_scatter This commit addresses the issue where cross-partition parameters received incorrect updates when using ZeRO-1/ZeRO-2 with reduce_scatter=true and Muon optimizer. The...