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
8e3f66a0
Unverified
Commit
8e3f66a0
authored
Feb 17, 2023
by
Boyuan Yao
Committed by
GitHub
Feb 17, 2023
Browse files
[zero] fix wrong import (#2777)
parent
ba84cd80
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
colossalai/zero/sharded_optim/_utils.py
colossalai/zero/sharded_optim/_utils.py
+1
-1
No files found.
colossalai/zero/sharded_optim/_utils.py
View file @
8e3f66a0
...
...
@@ -3,7 +3,7 @@ from typing import Optional
import
torch
import
torch.distributed
as
dist
from
torch
.six
import
inf
from
torch
import
inf
from
torch._utils
import
_flatten_dense_tensors
,
_unflatten_dense_tensors
from
colossalai.tensor
import
ColoParameter
...
...
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