added clean slurm save load test
This commit is contained in:
parent
b5419fcd8b
commit
ffa7a0dbab
|
@ -181,6 +181,7 @@ class TrainerIO(object):
|
||||||
# call model hook
|
# call model hook
|
||||||
model.on_hpc_load(checkpoint)
|
model.on_hpc_load(checkpoint)
|
||||||
|
|
||||||
|
self.model = model
|
||||||
|
|
||||||
def max_ckpt_in_folder(self, path):
|
def max_ckpt_in_folder(self, path):
|
||||||
files = os.listdir(path)
|
files = os.listdir(path)
|
||||||
|
|
Loading…
Reference in New Issue