DeepSpeed
An open-source large-scale distributed training optimization framework developed by Microsoft and designed for training large models. It supports multiple parallelism strategies, including data parallelism, tensor parallelism, and pipeline parallelism.
Core Facts
Cube Studio supports distributed acceleration frameworks such as DeepSpeed, ColossalAI, and Horovod.
ZeRO was proposed by the DeepSpeed team in 2020 and eliminates redundancy in data parallelism through three stages: ZeRO-1 shards optimizer states, ZeRO-2 shards gradients, and ZeRO-3 shards model parameters.
Large model training involves multiple stages including data cleaning, annotation, alignment, and safety fine-tuning
Timeline (last 90 days)
1-bit Adam (such as the DeepSpeed implementation) is mainly used for gradient communication compression in distributed training, rather than directly compressing local optimizer states.
This open-source project provides a DeepSpeed configuration that fixes memory spikes for GPU memory-constrained scenarios.
For teams that already have mature training frameworks (such as PyTorch + FSDP/DeepSpeed), keeping the training loop in their own code is better for debugging and migration.
Unsloth adds DeepSpeed ZeRO-2 and ZeRO-3 support, including 4-bit QLoRA, full fine-tuning, DPO and CPU offload; the DDP + gradient checkpointing LoRA training issue that previously caused crashes has been fixed.
During the CAD phase, the team forked Megatron-LM and Microsoft DeepSpeed and rewrote kernels, laying the foundation for the inference capability behind Cursor's more than 500 million model calls per day.
DeepSpeed recently updated to add tensor parallelism, sequence parallelism, and expert parallelism capabilities
ZeRO (Zero Redundancy Optimizer) reduces GPU memory usage by partitioning optimizer states, gradients, and parameters
Presenter Masahiro stated that with these updates, DeepSpeed can rival other state-of-the-art frameworks in training the latest MoE models
PyTorch's torch.save/torch.load, Hugging Face Transformers' Trainer class, DeepSpeed, and Megatron-LM all have built-in periodic checkpoint support.
Large model training involves multiple stages including data cleaning, annotation, alignment, and safety fine-tuning
3 more timeline events
All Facts (19)
Cube Studio supports distributed acceleration frameworks such as DeepSpeed, ColossalAI, and Horovod.
80%VerifiedZeRO was proposed by the DeepSpeed team in 2020 and eliminates redundancy in data parallelism through three stages: ZeRO-1 shards optimizer states, ZeRO-2 shards gradients, and ZeRO-3 shards model parameters.
75%VerifiedLarge model training involves multiple stages including data cleaning, annotation, alignment, and safety fine-tuning
65%UnverifiedMainstream training frameworks such as Megatron-LM and DeepSpeed generate detailed checkpoints and data-loading records during distributed training.
60%UnverifiedTransformers与DeepSpeed、Accelerate等分布式训练工具无缝集成
60%UnverifiedFlashInfer is a high-performance CUDA operator library designed specifically for LLM inference.
60%Unverified1-bit Adam (such as the DeepSpeed implementation) is mainly used for gradient communication compression in distributed training, rather than directly compressing local optimizer states.
50%UnverifiedFor teams that already have mature training frameworks (such as PyTorch + FSDP/DeepSpeed), keeping the training loop in their own code is better for debugging and migration.
50%UnverifiedDuring the CAD phase, the team forked Megatron-LM and Microsoft DeepSpeed and rewrote kernels, laying the foundation for the inference capability behind Cursor's more than 500 million model calls per day.
50%UnverifiedDeepSpeed recently updated to add tensor parallelism, sequence parallelism, and expert parallelism capabilities
50%UnverifiedZeRO (Zero Redundancy Optimizer) reduces GPU memory usage by partitioning optimizer states, gradients, and parameters
50%UnverifiedPresenter Masahiro stated that with these updates, DeepSpeed can rival other state-of-the-art frameworks in training the latest MoE models
50%UnverifiedPyTorch's torch.save/torch.load, Hugging Face Transformers' Trainer class, DeepSpeed, and Megatron-LM all have built-in periodic checkpoint support.
50%UnverifiedThe numerical inconsistency problem is especially pronounced in heterogeneous architectures that use vLLM or TensorRT-LLM for rollout generation and PyTorch/DeepSpeed for training.
50%UnverifiedDeepSpeed's ZeRO technology has three stages: Stage 1 shards optimizer states (saving approximately 4× memory), Stage 2 additionally shards gradients (saving approximately 8×), and Stage 3 also shards model parameters.
50%UnverifiedMegatron-LM implements a 3D parallelism strategy combining tensor parallelism, pipeline parallelism, and data parallelism, while DeepSpeed distributes optimizer states across multiple nodes via ZeRO technology.
50%UnverifiedDeepSpeed introduced ZeRO-Infinity, which further extends the upper limit of trainable model scale by leveraging the storage space of NVMe SSDs.
50%UnverifiedThis open-source project provides a DeepSpeed configuration that fixes memory spikes for GPU memory-constrained scenarios.
50%UnverifiedUnsloth adds DeepSpeed ZeRO-2 and ZeRO-3 support, including 4-bit QLoRA, full fine-tuning, DPO and CPU offload; the DDP + gradient checkpointing LoRA training issue that previously caused crashes has been fixed.
50%