Skip to content

Conversation

@sgugger
Copy link
Collaborator

@sgugger sgugger commented Dec 30, 2021

What does this PR do?

This PR allows training to resume even if the loading of the RNG state fail in multi-GPU DataParallel mode because less GPUs are used than during the original training.

Fixes #14554

@sgugger sgugger requested a review from LysandreJik December 30, 2021 21:40
@sgugger sgugger merged commit e68c375 into master Dec 30, 2021
@sgugger sgugger deleted the fix_rng_multigpu branch December 30, 2021 22:03
stevhliu pushed a commit to stevhliu/transformers that referenced this pull request Jan 6, 2022
…uggingface#14994)

* Allow training to resume even if RNG states are not properly loaded

* Proper f-string
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.

Loading from checkpoint without skipping requires the same number of GPUs

1 participant