deepspeedai / deepspeedai/DeepSpeed
[REQUEST] A minimal example to load universal checkpoint
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 43.1k
- Forks
- 5k
- Avg merge
- 4d 15h
- Merged PRs (30d)
- 112
Description
Up to this point, I did not find minimal examples to resume training from universal checkpoint.
The only example for using universal checkpoint is here which is buried under layer of megatron code.
Describe the solution you'd like
A minimal example with only deepspeed and pytorch, so that people using other frameworks like pytorch lightning or huggingface and integrate this solution
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the existing example in examples_deepspeed/universal_checkpointing and identify the parts needed to resume training. Create a minimal example using only DeepSpeed and PyTorch that demonstrates loading a universal checkpoint, then verify that it is understandable and runnable without the surrounding Megatron code.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- documentation, machine-learning
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100