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
ad1e7ab2
Commit
ad1e7ab2
authored
Apr 01, 2022
by
RichardoLuo
Committed by
binmakeswell
Apr 06, 2022
Browse files
'[NFC] polish <colossalai/engine/_base_engine.py> code style' (#631)
Co-authored-by:
RichardoLuo
<
14049555596@qq.com
>
parent
2e11853d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
colossalai/engine/_base_engine.py
colossalai/engine/_base_engine.py
+1
-0
No files found.
colossalai/engine/_base_engine.py
View file @
ad1e7ab2
...
...
@@ -15,6 +15,7 @@ from typing import Optional, Type
from
colossalai.engine.gradient_handler
import
BaseGradientHandler
from
colossalai.logging
import
get_dist_logger
class
Engine
:
"""Basic engine class for training and evaluation. It runs a specific process method
:meth:`step` which is based on the given :attr:`schedule` over each batch of a dataset.
...
...
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