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
615e2e5f
"deploy/vscode:/vscode.git/clone" did not exist on "643659c6ef4a5321304aad6bbe19051e1634bf60"
Unverified
Commit
615e2e5f
authored
May 23, 2023
by
Frank Lee
Committed by
GitHub
May 23, 2023
Browse files
[test] fixed lazy init test import error (#3799)
parent
ad93c736
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
tests/test_utils/test_lazy_init/lazy_init_utils.py
tests/test_utils/test_lazy_init/lazy_init_utils.py
+0
-0
tests/test_utils/test_lazy_init/test_distribute.py
tests/test_utils/test_lazy_init/test_distribute.py
+1
-1
tests/test_utils/test_lazy_init/test_models.py
tests/test_utils/test_lazy_init/test_models.py
+1
-1
No files found.
tests/test_utils/test_lazy_init/utils.py
→
tests/test_utils/test_lazy_init/
lazy_init_
utils.py
View file @
615e2e5f
File moved
tests/test_utils/test_lazy_init/test_distribute.py
View file @
615e2e5f
...
...
@@ -15,7 +15,7 @@ try:
from
colossalai.utils.model.experimental
import
LazyInitContext
,
LazyTensor
,
_MyTensor
except
:
pass
from
utils
import
SUPPORT_LAZY
,
assert_dist_model_equal
,
set_seed
from
lazy_init_
utils
import
SUPPORT_LAZY
,
assert_dist_model_equal
,
set_seed
from
tests.kit.model_zoo
import
model_zoo
...
...
tests/test_utils/test_lazy_init/test_models.py
View file @
615e2e5f
import
pytest
from
utils
import
SUPPORT_LAZY
,
check_lazy_init
from
lazy_init_
utils
import
SUPPORT_LAZY
,
check_lazy_init
from
tests.kit.model_zoo
import
model_zoo
...
...
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