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
09fe9dc7
"tests/git@developer.sourcefind.cn:OpenDAS/colossalai.git" did not exist on "f27d801a13c2feed37ea676e38c6ef8831d58e76"
Unverified
Commit
09fe9dc7
authored
Jun 30, 2023
by
digger yu
Committed by
GitHub
Jun 30, 2023
Browse files
[nfc]fix ColossalaiOptimizer is not defined (#4122)
parent
edd75a59
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
colossalai/engine/_base_engine.py
colossalai/engine/_base_engine.py
+1
-1
No files found.
colossalai/engine/_base_engine.py
View file @
09fe9dc7
...
@@ -12,7 +12,7 @@ from colossalai.engine.gradient_handler import BaseGradientHandler
...
@@ -12,7 +12,7 @@ from colossalai.engine.gradient_handler import BaseGradientHandler
from
colossalai.engine.schedule
import
BaseSchedule
,
InterleavedPipelineSchedule
,
NonPipelineSchedule
,
PipelineSchedule
from
colossalai.engine.schedule
import
BaseSchedule
,
InterleavedPipelineSchedule
,
NonPipelineSchedule
,
PipelineSchedule
from
colossalai.logging
import
get_dist_logger
from
colossalai.logging
import
get_dist_logger
from
colossalai.zero.legacy.gemini
import
BaseOpHook
,
register_ophooks_recursively
from
colossalai.zero.legacy.gemini
import
BaseOpHook
,
register_ophooks_recursively
from
colossalai.nn.optimizer
import
ColossalaiOptimizer
class
Engine
:
class
Engine
:
"""Basic engine class for training and evaluation. It runs a specific process method
"""Basic engine class for training and evaluation. It runs a specific process method
...
...
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