"src/vscode:/vscode.git/clone" did not exist on "6c9f5527336e979fae1a0822f85bb13e7bc6805e"
Unverified Commit ca7ff64f authored by Stas Bekman's avatar Stas Bekman Committed by GitHub
Browse files

[deepspeed] fix resume from checkpoint (#11352)

This PR fixes a bug that most likely somehow got exposed (not caused) by https://github.com/huggingface/transformers/pull/11318 - surprisingly the same test worked just fine before that other PR.
parent 74712e22
...@@ -1017,7 +1017,7 @@ class Trainer: ...@@ -1017,7 +1017,7 @@ class Trainer:
"yield to errors or unwanted behaviors." "yield to errors or unwanted behaviors."
) )
if self.deepspeed: if args.deepspeed:
# will be resumed in deepspeed_init # will be resumed in deepspeed_init
pass pass
else: else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment