Skip to content

Conversation

@awan-10
Copy link
Contributor

@awan-10 awan-10 commented Aug 7, 2023

This PR implements a new code path to provide 10-20x faster load checkpoint times. The code has been adapted from HF from_pretrained functionality when DeepSpeed Z3 is enabled.

Copy link
Contributor

@yaozhewei yaozhewei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removing debugging and change step ==1 back, the rest looks great to me

Copy link
Contributor

@lekurile lekurile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@awan-10 awan-10 merged commit 3952c9a into master Aug 9, 2023
LeetJoe pushed a commit to LeetJoe/DeepSpeedExamples that referenced this pull request Sep 15, 2023
hwchen2017 pushed a commit that referenced this pull request Jun 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants