deepspeedai / deepspeedai/DeepSpeed

[REQUEST] A minimal example to load universal checkpoint

Open
#6,548 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.