pypi deepspeed 0.20.1
v0.20.1 Patch Release

57 minutes ago

What's Changed

  • Update version.txt post-0.20.0 release by @loadams in #9073
  • Fused CPU Adam step by @pengdurice in #8841
  • Reuse continuous rollout graphs and release captured resources on shutdown by @jinyouzhi in #9009
  • [Ulysses] Add opt-in uneven-shard rejection and FPDT padding by @jschneider-canva in #9059
  • feat(comm): one-shot P2P custom all-reduce for TP=2 inference by @delock in #8997
  • [AffineIR] Check affine holders and source regions without pairwise comparisons by @jinyouzhi in #9011
  • Stabilize FPDT logits loss for extreme finite logits by @tohtana in #9068
  • AutoEP: opt-in skip of the recomputed DeepEP combine by @yh0903 in #8745
  • Fused RMSNorm: multi-row programs and a one-pass backward for narrow norms by @yh0903 in #8664
  • Overlap AutoEP's expert weight gradients with the DeepEP backward combine by @yh0903 in #8739
  • [Hybrid Engine] Enable XPU graph capture behind the explicit opt-in by @delock in #9007
  • Fix unit tests failure on CPU with fp16 support by @hwchen2017 in #9086
  • Fix checkpoint and broadcast tests to use the accelerator backend by @VenusTZZ in #9054
  • perf(rollout): select generation and prefill buckets with a tunable cost model by @SuperGoodGame in #8786
  • [checkpoint] Expose the affine transfer schedule as schedule_transfers by @0z5a in #9027
  • Fix multiple issues in Op Builder and refactor implementation by @hwchen2017 in #9085
  • ZeRO-3 NVMe offload: give swapped-out parameter partitions the model dtype by @xylian86 in #9099
  • [ops] Warn when DeepSpeedCPUAdam is limited to one OpenMP thread by @0z5a in #8938
  • Exit spawned test workers with os._exit to avoid gloo abort at shutdown by @jinyouzhi in #9100
  • [AffineIR] Calibrate affine transfer links per path (Plan analysis & calibration Part-2) by @jinyouzhi in #8966
  • Fix DeepCompile NCCL header discovery for PyTorch wheels by @hwchen2017 in #9078
  • Universal Checkpointing: read AutoEP ZeRO-3 optimizer files one at a time by @pengdurice in #8844
  • ZeRO-3: take the AutoTP shard from universal checkpoints converted without TP by @Achyuthan-S in #9069
  • [AffineIR] Check strided shard destinations without pairwise comparisons by @jinyouzhi in #9039
  • Gate merge queue GPU CI by PR label by @tohtana in #9083
  • [AutoSP] Aggregate the causal LM loss and gradients over the SP group by @jinyouzhi in #8457
  • ZeRO-3: fix stale and lost gradients of unused parameters by @xylian86 in #8981
  • Add the MPS CI workflow to the README build pipeline status table by @PKUWZP in #9121
  • feat(rollout): segment-based kernel injection for hybrid-engine greedy decode by @delock in #8602
  • Preserve convolution shapes and scaling in Muon updates by @vineethsaivs in #8552
  • Forward the per-head Muon tag at every muon_update call site by @vineethsaivs in #8612
  • ZeRO-1/2: fix offload_states() keeping the optimizer state on the device by @xylian86 in #9016
  • [AutoSP] Align cross entropy targets after an in-model causal label shift by @jinyouzhi in #8811
  • [AffineIR] Plan flat shards that keep the parameter's own strides by @0z5a in #9070
  • [checkpoint] Check aliases on the regions a transfer moves by @0z5a in #9093
  • [AutoEP] Stage expert weight gradients across microbatches by @PKUWZP in #9114
  • ZeRO-3 partial offload: fix LR schedules and checkpoints of the device sub-groups by @xylian86 in #8973
  • Fix static rollout graph decoding regressions by @jinyouzhi in #9127
  • Fix AutoTP multi-query GPTBigCode training at TP > 1 by @VenusTZZ in #8962
  • [AutoEP] Run staged expert weight gradients with ZeRO-3 by @PKUWZP in #9115
  • AutoTP: shard an untied input embedding along the vocabulary (`vocab_… by @pengdurice in #8859
  • [AffineIR] Analyze affine transfer batches before execution (Plan analysis & calibration Part-1) by @jinyouzhi in #8967
  • Describe a parameter held in several layouts as one affine map by @Achyuthan-S in #9052
  • Gate op compatibility on dskernels and ROCm support by @hwchen2017 in #9150
  • ZeRO-1/2: record reduction stream on oversized gradients under overlap_comm by @miaTian99 in #9031
  • Fix pin-memory offload-route test after ZeRO-1/2 optim-state relink by @jinyouzhi in #9148
  • Price affine transfer plans from their schedule, and keep the cheapest by @Achyuthan-S in #9145
  • Fix HybridEngineRollout KV caches under autocast when keys and values differ in dtype by @ArchanaChetan07 in #9124
  • AutoEP: support combine_impl="fused_weighted_sum" with AutoEP+AutoTP folding by @pengdurice in #8847
  • Write CPU optimizer results back to non-contiguous params by @vineethsaivs in #8714
  • Add ReFlow asynchronous CPU-offloaded optimizers for ZeRO-3 by @st-bang97 in #8719
  • write the latest checkpoint tag only after every rank has saved by @dundysm in #9071
  • ZeRO-1/2, BF16 optimizer: do not keep parameters' AccumulateGrad nodes alive from fragment mappings by @seanbell in #9135
  • ZeRO-1/2: order gradient bucket reads, rewrites and releases across streams without overlap_comm by @seanbell in #9133
  • fix(rollout): stop on every EOS id in the model's generation config by @anyadontfly in #9161
  • Code cleaning: Remove unused files and consolidate benchmarks, and documentation by @hwchen2017 in #9144

New Contributors

Full Changelog: v0.20.0...v0.20.1

Don't miss a new deepspeed release

NewReleases is sending notifications on new releases.