Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ColossalAI
Commits
7e46bc87
Unverified
Commit
7e46bc87
authored
Jul 03, 2023
by
digger yu
Committed by
GitHub
Jul 03, 2023
Browse files
fix CheckpointIndexFile is not defined (#4109)
parent
09fe9dc7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
colossalai/checkpoint_io/utils.py
colossalai/checkpoint_io/utils.py
+1
-0
No files found.
colossalai/checkpoint_io/utils.py
View file @
7e46bc87
...
...
@@ -11,6 +11,7 @@ import torch.nn as nn
from
torch.optim
import
Optimizer
from
colossalai.tensor.d_tensor.d_tensor
import
DTensor
from
.index_file
import
CheckpointIndexFile
SAFE_WEIGHTS_NAME
=
"model.safetensors"
WEIGHTS_NAME
=
"pytorch_model.bin"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment