mirror of https://github.com/InternLM/InternLM
fix ci
parent
2520edb795
commit
c46861f986
|
@ -515,7 +515,7 @@ class LocalClient(StorageClient):
|
|||
try:
|
||||
if not os.path.exists(fp_dirname):
|
||||
os.makedirs(fp_dirname, exist_ok=True)
|
||||
except:
|
||||
except FileNotFoundError:
|
||||
pass
|
||||
torch.save(saved_obj, fp, **kwargs)
|
||||
|
||||
|
|
Loading…
Reference in New Issue