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
b105371a
Commit
b105371a
authored
Mar 03, 2022
by
ver217
Committed by
Frank Lee
Mar 11, 2022
Browse files
rename shared adam to sharded optim v2
parent
70814dc2
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/sharded_optim_v2.py
colossalai/zero/sharded_optim/sharded_optim_v2.py
+1
-1
No files found.
colossalai/zero/sharded_optim/sharded_
adam
.py
→
colossalai/zero/sharded_optim/sharded_
optim_v2
.py
View file @
b105371a
...
@@ -22,7 +22,7 @@ class OptimState(Enum):
...
@@ -22,7 +22,7 @@ class OptimState(Enum):
UNSCALED
=
2
UNSCALED
=
2
class
Sharded
Adam
(
ColossalaiOptimizer
):
class
Sharded
OptimizerV2
(
ColossalaiOptimizer
):
def
__init__
(
self
,
def
__init__
(
self
,
adam_optim
:
Optimizer
,
adam_optim
:
Optimizer
,
...
...
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