Commit 61ef5cf
authored
checkpoint: error if --checkpoint.load_step is specified but not found (#1311)
Currently when `--checkpoint.load_step=xxx` is specified (not -1), and
no corresponding `checkpoint/step-xxx` folder is found, it will
~silently~ start from random initialization. User have to check the log
for a single line `Loading checkpoint step ....` to make sure it's
working.
I think that's not very intuitive and maybe explicitly error-out would
be better.1 parent 1ab4353 commit 61ef5cf
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
448 | | - | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
449 | 451 | | |
450 | 452 | | |
451 | 453 | | |
| |||
0 commit comments