Unverified Commit 3fefa292 authored by Robert Stone's avatar Robert Stone Committed by GitHub
Browse files

Trainer._load_rng_state() path fix (#14069) (#14071)

parent 3892d09f
......@@ -1511,7 +1511,7 @@ class Trainer:
return
else:
rng_file = os.path.join(checkpoint, "rng_state.pth")
if not os.path.isfile(os.path.join(checkpoint, rng_file)):
if not os.path.isfile(rng_file):
logger.info(
"Didn't find an RNG file, if you are resuming a training that was launched in a distributed "
"fashion, reproducibility is not guaranteed."
......
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