Skip to content

fix failing trainer ds tests#29057

Merged
pacman100 merged 1 commit into
mainfrom
smangrul/fix-ds-tests
Feb 16, 2024
Merged

fix failing trainer ds tests#29057
pacman100 merged 1 commit into
mainfrom
smangrul/fix-ds-tests

Conversation

@pacman100

Copy link
Copy Markdown
Contributor

What does this PR do?

  1. After PR Allow resume_from_checkpoint to handle auto_find_batch_size #27568, when resuming from ckpt, it first loads the trainer_state.json file. As such, when bogus ckpt folder is passed it will throw file not found error. Earlier, the code would throw different invalid ckpt error in the function call deepspeed_load_checkpoint. As such, test_can_resume_training_errors tests were failing. This PR fixes the tests by removing the exact check on the error message when resuming from bogus ckpt.

@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@muellerzr muellerzr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the investigation, TIL

@amyeroberts amyeroberts left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for fixing!

@pacman100
pacman100 merged commit b262808 into main Feb 16, 2024
@pacman100
pacman100 deleted the smangrul/fix-ds-tests branch February 16, 2024 11:48
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