NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #3857 most downloaded on PyPI
DeepSpeed library
Last release 18 days ago
16 Sep 2026
Ships on a steady schedule
a new release about every 3 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
1 version withdrawn
withdrawn after publishing
6 years old
132 releases · first in 2020
One column per quarter.
Deprecate unused DeepSpeed features by @sfc-gh-truwase in #8490
Full Changelog: v0.19.6...v0.19.7
Fix checkpoint rank selection for Ulysses sequence parallelism by @sfc-gh-thonguyen in #8226
Full Changelog: v0.19.5...v0.19.6
Update version.txt after 0.19.4 release by @loadams in https://github.com/deepspeedai/DeepSpeed/pull/8219
Full Changelog: https://github.com/deepspeedai/DeepSpeed/compare/v0.19.4...v0.19.5
Full Changelog: v0.19.4...v0.19.5
Validate warmup_type in WarmupCosineLR like WarmupLR by @sohumt123 in https://github.com/deepspeedai/DeepSpeed/pull/8151
colwise_gather_output to support lm_head replace by @jinyouzhi in https://github.com/deepspeedai/DeepSpeed/pull/8146Full Changelog: https://github.com/deepspeedai/DeepSpeed/compare/v0.19.3...v0.19.4
colwise_gather_output to support lm_head replace by @jinyouzhi in #8146Full Changelog: v0.19.3...v0.19.4
Feat: zero3 deprecate elastic checkpoint by @nathon-lee in https://github.com/deepspeedai/DeepSpeed/pull/8099
Full Changelog: https://github.com/deepspeedai/DeepSpeed/compare/v0.19.2...v0.19.3
Full Changelog: v0.19.2...v0.19.3
fix(fp16): filter requires_grad in FP16 optimizer flat buffer init by @avicooper1 in https://github.com/deepspeedai/DeepSpeed/pull/8029
Full Changelog: https://github.com/deepspeedai/DeepSpeed/compare/v0.19.1...v0.19.2
Full Changelog: v0.19.1...v0.19.2
Update version post-v0.19.0 release by @loadams in #7996
Full Changelog: v0.19.0...v0.19.1
Update version after latest release (v0.18.9) by @loadams in #7936
Full Changelog: v0.18.9...v0.19.0
Respect $TRITON_HOME by @Flamefire in https://github.com/deepspeedai/DeepSpeed/pull/7907
$TRITON_HOME by @Flamefire in https://github.com/deepspeedai/DeepSpeed/pull/7907$DS_IGNORE_CUDA_DETECTION is set by @Flamefire in https://github.com/deepspeedai/DeepSpeed/pull/7896Full Changelog: https://github.com/deepspeedai/DeepSpeed/compare/v0.18.8...v0.18.9
$TRITON_HOME by @Flamefire in #7907$DS_IGNORE_CUDA_DETECTION is set by @Flamefire in #7896Full Changelog: v0.18.8...v0.18.9
Suppress see_memory_usage logs by @sfc-gh-truwase in https://github.com/deepspeedai/DeepSpeed/pull/7891
Full Changelog: https://github.com/deepspeedai/DeepSpeed/compare/v0.18.7...v0.18.8
Full Changelog: v0.18.7...v0.18.8
Update version post release by @loadams in https://github.com/deepspeedai/DeepSpeed/pull/7850
Full Changelog: https://github.com/deepspeedai/DeepSpeed/compare/v0.18.6...v0.18.7
Full Changelog: v0.18.6...v0.18.7
fix: replace deprecated fractions.gcd with math.gcd by @Mr-Neutr0n in https://github.com/deepspeedai/DeepSpeed/pull/7845
Full Changelog: https://github.com/deepspeedai/DeepSpeed/compare/v0.18.5...v0.18.6
Update version.txt after 0.18.4 release by @loadams in https://github.com/deepspeedai/DeepSpeed/pull/7765
docs/_pages/config-json.md format by @ooooo-create in https://github.com/deepspeedai/DeepSpeed/pull/7779Full Changelog: https://github.com/deepspeedai/DeepSpeed/compare/v0.18.4...v0.18.5
Update version by @sfc-gh-truwase in https://github.com/deepspeedai/DeepSpeed/pull/7719
Full Changelog: https://github.com/deepspeedai/DeepSpeed/compare/v0.18.3...v0.18.4
Update version.txt after release by @loadams in https://github.com/deepspeedai/DeepSpeed/pull/7675
Full Changelog: https://github.com/deepspeedai/DeepSpeed/compare/v0.18.2...v0.18.3
Update version after 0.18.1 release by @loadams in https://github.com/deepspeedai/DeepSpeed/pull/7647
Full Changelog: https://github.com/deepspeedai/DeepSpeed/compare/v0.18.1...v0.18.2
Add ZenFlow code for Stage 3 by @JoshWoo2003 in https://github.com/deepspeedai/DeepSpeed/pull/7516
dtype to report_ipg_memory_usage by @stas00 in https://github.com/deepspeedai/DeepSpeed/pull/7636Full Changelog: https://github.com/deepspeedai/DeepSpeed/compare/v0.18.0...v0.18.1
Update version.txt post 0.17.6 release by @loadams in https://github.com/deepspeedai/DeepSpeed/pull/7572
Full Changelog: https://github.com/deepspeedai/DeepSpeed/compare/v0.17.6...v0.18.0
Update version.txt after 0.17.5 release by @loadams in https://github.com/deepspeedai/DeepSpeed/pull/7502
lrrt.md, reference to cycle_min_lr should be cycle_max_lr by @jakehemmerle in https://github.com/deepspeedai/DeepSpeed/pull/7530torch.autocast by @tohtana in https://github.com/deepspeedai/DeepSpeed/pull/7534init_process_group by @kaixuanliu in https://github.com/deepspeedai/DeepSpeed/pull/7542Full Changelog: https://github.com/deepspeedai/DeepSpeed/compare/v0.17.5...v0.17.6
Update version.txt after v0.17.4 release by @loadams in https://github.com/deepspeedai/DeepSpeed/pull/7460
deepspeed --venv_script by @stas00 in https://github.com/deepspeedai/DeepSpeed/pull/7469Full Changelog: https://github.com/deepspeedai/DeepSpeed/compare/v0.17.4...v0.17.5
Update version.txt after 0.17.3 release. by @loadams in https://github.com/deepspeedai/DeepSpeed/pull/7455
TiledFusedLogitsLoss bug fix by @stas00 in https://github.com/deepspeedai/DeepSpeed/pull/7459Full Changelog: https://github.com/deepspeedai/DeepSpeed/compare/v0.17.3...v0.17.4
[TiledMLP]: fix for bs>1 by @stas00 in https://github.com/deepspeedai/DeepSpeed/pull/7412
bucket.elements after reduction in ZeRO Stage 3 by @rahul713rk in https://github.com/deepspeedai/DeepSpeed/pull/7418strip_tensor_paddings by @saforem2 in https://github.com/deepspeedai/DeepSpeed/pull/7426device_id in torch's init_process_group by @stas00 in https://github.com/deepspeedai/DeepSpeed/pull/7266Full Changelog: https://github.com/deepspeedai/DeepSpeed/compare/v0.17.2...v0.17.3
Update version after 0.17.1 release by @loadams in https://github.com/deepspeedai/DeepSpeed/pull/7345
sync kwarg by @ned2 in https://github.com/deepspeedai/DeepSpeed/pull/7383TestParamPartitioningSkipInit by @tohtana in https://github.com/deepspeedai/DeepSpeed/pull/7377return_val by @HollowMan6 in https://github.com/deepspeedai/DeepSpeed/pull/7395csrc/compile to include paths for DeepCompile builder by @HollowMan6 in https://github.com/deepspeedai/DeepSpeed/pull/7401Full Changelog: https://github.com/deepspeedai/DeepSpeed/compare/v0.17.1...v0.17.2
Update version.txt after v0.17.0 release by @loadams in https://github.com/deepspeedai/DeepSpeed/pull/7326
Full Changelog: https://github.com/deepspeedai/DeepSpeed/compare/v0.17.0...v0.17.1
Update next version in version.txt after 0.16.9 release. by @loadams in https://github.com/deepspeedai/DeepSpeed/pull/7306
tests/conftest.py: automatically add local deepspeed repo when running tests by @stas00 in https://github.com/deepspeedai/DeepSpeed/pull/7317Full Changelog: https://github.com/deepspeedai/DeepSpeed/compare/v0.16.9...v0.17.0
Update patch version after 0.16.8 release by @loadams in https://github.com/deepspeedai/DeepSpeed/pull/7296
Full Changelog: https://github.com/deepspeedai/DeepSpeed/compare/v0.16.8...v0.16.9
Update version.txt after 0.16.7 release by @loadams in https://github.com/deepspeedai/DeepSpeed/pull/7232
Makefile to ease maintenance by @stas00 in https://github.com/deepspeedai/DeepSpeed/pull/7267Full Changelog: https://github.com/deepspeedai/DeepSpeed/compare/v0.16.7...v0.16.8
Update version.txt after 0.16.6 release by @loadams in https://github.com/deepspeedai/DeepSpeed/pull/7218
with_cuda arg for jit_load in OpBuilder by @HollowMan6 in https://github.com/deepspeedai/DeepSpeed/pull/7226Full Changelog: https://github.com/deepspeedai/DeepSpeed/compare/v0.16.6...v0.16.7
Update version.txt after 0.16.5 release by @loadams in https://github.com/deepspeedai/DeepSpeed/pull/7180
Full Changelog: https://github.com/deepspeedai/DeepSpeed/compare/v0.16.5...v0.16.6
Update version.txt after 0.16.4 release by @loadams in https://github.com/deepspeedai/DeepSpeed/pull/7063
python setup.py sdist with python -m build --sdist by @loadams in https://github.com/deepspeedai/DeepSpeed/pull/7069seq_parallel_communication_data_type constant. by @stas00 in https://github.com/deepspeedai/DeepSpeed/pull/7175Full Changelog: https://github.com/deepspeedai/DeepSpeed/compare/v0.16.4...v0.16.5
Update version.txt after 0.16.3 release by @loadams in https://github.com/deepspeedai/DeepSpeed/pull/6965
Full Changelog: https://github.com/deepspeedai/DeepSpeed/compare/v0.16.3...v0.16.4
Update version.txt after 0.16.2 release by @loadams in https://github.com/microsoft/DeepSpeed/pull/6893
checkpointable_layers Logic by @Quentin-Anthony in https://github.com/microsoft/DeepSpeed/pull/6881torch.log1p by @kit1980 in https://github.com/microsoft/DeepSpeed/pull/6930warn to warning by @qgallouedec in https://github.com/microsoft/DeepSpeed/pull/6952Dockerfile by @Zerohertz in https://github.com/microsoft/DeepSpeed/pull/6959torch.norm to torch.linalg.norm and torch.linalg.vector_norm by @loadams in https://github.com/microsoft/DeepSpeed/pull/6931Full Changelog: https://github.com/microsoft/DeepSpeed/compare/v0.16.2...v0.16.3
Update pre-commit version by @loadams in https://github.com/microsoft/DeepSpeed/pull/6821
ZeROOrderedDict by @oraluben in https://github.com/microsoft/DeepSpeed/pull/6794requried_torch_version by @loadams in https://github.com/microsoft/DeepSpeed/pull/6884Full Changelog: https://github.com/microsoft/DeepSpeed/compare/v0.16.1...v0.16.2
Update version.txt after 0.16.0 release by @loadams in https://github.com/microsoft/DeepSpeed/pull/6786
Full Changelog: https://github.com/microsoft/DeepSpeed/compare/v0.16.0...v0.16.1
Update version.txt after 0.15.4 release by @loadams in https://github.com/microsoft/DeepSpeed/pull/6731
module_granularity_threshold to zero optimization. by @inkcherry in https://github.com/microsoft/DeepSpeed/pull/6649zero_to_fp32 by @xu-song in https://github.com/microsoft/DeepSpeed/pull/6658json_schema_extra instead of extra keyword in Field by @qgallouedec in https://github.com/microsoft/DeepSpeed/pull/6764Full Changelog: https://github.com/microsoft/DeepSpeed/compare/v0.15.4...v0.16.0
Update version.txt after 0.15.3 release by @loadams in https://github.com/microsoft/DeepSpeed/pull/6652
Full Changelog: https://github.com/microsoft/DeepSpeed/compare/v0.15.3...v0.15.4
Update version.txt after 0.15.2 release by @loadams in https://github.com/microsoft/DeepSpeed/pull/6615
Full Changelog: https://github.com/microsoft/DeepSpeed/compare/v0.15.2...v0.15.3
Update version.txt after 0.15.1 release by @loadams in https://github.com/microsoft/DeepSpeed/pull/6493
op_builder/mlu/fused_adam.py and update no-torch workflow triggers by @loadams in https://github.com/microsoft/DeepSpeed/pull/6584backend is also in compile_kwargs by @oraluben in https://github.com/microsoft/DeepSpeed/pull/6502Full Changelog: https://github.com/microsoft/DeepSpeed/compare/v0.15.1...v0.15.2
Update version.txt after 0.15.0 release by @loadams in https://github.com/microsoft/DeepSpeed/pull/6403
CUDA_HOME is not defined on ROCm systems by @amorehead in https://github.com/microsoft/DeepSpeed/pull/6488Full Changelog: https://github.com/microsoft/DeepSpeed/compare/v0.15.0...v0.15.1
Update version.txt after 0.14.5 release by @loadams in https://github.com/microsoft/DeepSpeed/pull/5982
Full Changelog: https://github.com/microsoft/DeepSpeed/compare/v0.14.5...v0.15.0
Update version.txt after 0.14.4 release by @mrwyattii in https://github.com/microsoft/DeepSpeed/pull/5694
warned by @anferico in https://github.com/microsoft/DeepSpeed/pull/5725torch.nan_to_num replace numpy wrapper one by @jinyouzhi in https://github.com/microsoft/DeepSpeed/pull/5877Full Changelog: https://github.com/microsoft/DeepSpeed/compare/v0.14.4...v0.14.5
Update version.txt after 0.14.3 release by @mrwyattii in https://github.com/microsoft/DeepSpeed/pull/5651
Full Changelog: https://github.com/microsoft/DeepSpeed/compare/v0.14.3...v0.14.4
Update version.txt after 0.14.2 release by @mrwyattii in https://github.com/microsoft/DeepSpeed/pull/5458
Full Changelog: https://github.com/microsoft/DeepSpeed/compare/v0.14.2...v0.14.3
Update version.txt after 0.14.1 release by @mrwyattii in https://github.com/microsoft/DeepSpeed/pull/5413
split_index method by @bm-synth in https://github.com/microsoft/DeepSpeed/pull/5292DistributedDataAnalyzer map-reduce by @bm-synth in https://github.com/microsoft/DeepSpeed/pull/5291Full Changelog: https://github.com/microsoft/DeepSpeed/compare/v0.14.1...v0.14.2
Update version.txt after 0.14.0 release by @mrwyattii in https://github.com/microsoft/DeepSpeed/pull/5238
distributed_port for deepspeed.initialize by @LZHgrla in https://github.com/microsoft/DeepSpeed/pull/5260Full Changelog: https://github.com/microsoft/DeepSpeed/compare/v0.14.0...v0.14.1
DeepSpeed-FP6: The Power of FP6-Centric Serving for Large Language Models.
Full Changelog: https://github.com/microsoft/DeepSpeed/compare/v0.13.5...v0.14.0
Update version.txt after 0.13.4 release by @mrwyattii in https://github.com/microsoft/DeepSpeed/pull/5196
deepspeed.comm instead of torch.distributed by @jinyouzhi in https://github.com/microsoft/DeepSpeed/pull/5225Full Changelog: https://github.com/microsoft/DeepSpeed/compare/v0.13.4...v0.13.5
Update version.txt after v0.13.3 release by @loadams in https://github.com/microsoft/DeepSpeed/pull/5185
--extra-index-url by @loadams in https://github.com/microsoft/DeepSpeed/pull/5183--extra-index-url by @loadams in https://github.com/microsoft/DeepSpeed/pull/5184Full Changelog: https://github.com/microsoft/DeepSpeed/compare/v0.13.3...v0.13.4
Update deprecated HuggingFace function by @mrwyattii in https://github.com/microsoft/DeepSpeed/pull/5144
if collate_fn is None by @bm-synth in https://github.com/microsoft/DeepSpeed/pull/5107map_reduce by @bm-synth in https://github.com/microsoft/DeepSpeed/pull/5106index key from output of metric_function in DataAnalysis map operation by @bm-synth in https://github.com/microsoft/DeepSpeed/pull/5112run_map_reduce to fix errors when running run_map followed by run_reduce by @bm-synth in https://github.com/microsoft/DeepSpeed/pull/5131isinstance check in PR 5112 by @bm-synth in https://github.com/microsoft/DeepSpeed/pull/5142Full Changelog: https://github.com/microsoft/DeepSpeed/compare/v0.13.2...v0.13.3
Update version.txt after 0.13.1 release by @mrwyattii in https://github.com/microsoft/DeepSpeed/pull/5002
exclude_frozen_parameters for save_16bit_model by @LZHgrla in https://github.com/microsoft/DeepSpeed/pull/4999mp_size to tensor_parallel for TP by @yundai424 in https://github.com/microsoft/DeepSpeed/pull/5048tensor.numel() % (2 * global_world_size) != 0 by @ByronHsu in https://github.com/microsoft/DeepSpeed/pull/5056exclude_frozen_parameters for zero_to_fp32.py script by @andstor in https://github.com/microsoft/DeepSpeed/pull/4979Full Changelog: https://github.com/microsoft/DeepSpeed/compare/v0.13.1...v0.13.2
Update version.txt after 0.13.0 release by @mrwyattii in https://github.com/microsoft/DeepSpeed/pull/4982
Full Changelog: https://github.com/microsoft/DeepSpeed/compare/v0.13.0...v0.13.1
DeepSpeed-FastGen: Introducting Mixtral, Phi-2, and Falcon support with major performance and feature enhancements.
ignore_unused_parameters by @loadams in https://github.com/microsoft/DeepSpeed/pull/4949load_module_only by @haileyschoelkopf in https://github.com/microsoft/DeepSpeed/pull/4141Full Changelog: https://github.com/microsoft/DeepSpeed/compare/v0.12.6...v0.13.0
Update version.txt after 0.12.5 release by @mrwyattii in https://github.com/microsoft/DeepSpeed/pull/4826
Full Changelog: https://github.com/microsoft/DeepSpeed/compare/v0.12.5...v0.12.6
Fix DS Stable Diffusion for latest diffusers version by @lekurile in https://github.com/microsoft/DeepSpeed/pull/4770
Full Changelog: https://github.com/microsoft/DeepSpeed/compare/v0.12.4...v0.12.5
Update version.txt after 0.12.3 release by @mrwyattii in https://github.com/microsoft/DeepSpeed/pull/4673
deepspeed-kernels only on Linux by @aphedges in https://github.com/microsoft/DeepSpeed/pull/4739.gitignore file to be parsed properly by @aphedges in https://github.com/microsoft/DeepSpeed/pull/4740Full Changelog: https://github.com/microsoft/DeepSpeed/compare/v0.12.3...v0.12.4
Stable Diffusion now supported with latest Torch, diffusers, and Triton versions.
module_state_dict by @LZHgrla in https://github.com/microsoft/DeepSpeed/pull/4587Full Changelog: https://github.com/microsoft/DeepSpeed/compare/v0.12.2...v0.12.3
Quick bug fix direct to master to ensure mismatched cuda environments are shown to the user https://github.com/microsoft/DeepSpeed/commit/4f7dd7214b1d
master to ensure mismatched cuda environments are shown to the user https://github.com/microsoft/DeepSpeed/commit/4f7dd7214b1d81dbbdff826015a67accc10390d2Full Changelog: https://github.com/microsoft/DeepSpeed/compare/v0.12.1...v0.12.2
Update version.txt after 0.12.0 release by @mrwyattii in https://github.com/microsoft/DeepSpeed/pull/4611
Full Changelog: https://github.com/microsoft/DeepSpeed/compare/v0.12.0...v0.12.1
DeepSpeed-FastGen: High-throughput Text Generation for LLMs via MII and DeepSpeed-Inference
Full Changelog: https://github.com/microsoft/DeepSpeed/compare/v0.11.2...v0.12.0
Update version.txt after 0.11.1 release by @mrwyattii in https://github.com/microsoft/DeepSpeed/pull/4484
Full Changelog: https://github.com/microsoft/DeepSpeed/compare/v0.11.1...v0.11.2
Your coding agent can read these notes before it upgrades. Set up the MCP server →