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
36067428
".github/git@developer.sourcefind.cn:OpenDAS/colossalai.git" did not exist on "a3b1d07ca4de2d0a8025d66eee9bdffbde8e2a43"
Unverified
Commit
36067428
authored
Mar 09, 2023
by
binmakeswell
Committed by
GitHub
Mar 09, 2023
Browse files
[example] fix redundant note (#3065)
parent
af388848
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
examples/language/opt/train_gemini_opt.py
examples/language/opt/train_gemini_opt.py
+0
-2
No files found.
examples/language/opt/train_gemini_opt.py
View file @
36067428
...
@@ -178,8 +178,6 @@ def main():
...
@@ -178,8 +178,6 @@ def main():
# build model
# build model
if
args
.
model_name_or_path
is
None
:
if
args
.
model_name_or_path
is
None
:
# currently, there has a bug in pretrained opt-13b
# we can not import it until huggingface fix it
logger
.
info
(
"Train a new model from scratch"
,
ranks
=
[
0
])
logger
.
info
(
"Train a new model from scratch"
,
ranks
=
[
0
])
with
ColoInitContext
(
device
=
init_dev
,
dtype
=
torch
.
half
,
with
ColoInitContext
(
device
=
init_dev
,
dtype
=
torch
.
half
,
default_dist_spec
=
default_dist_spec
,
default_dist_spec
=
default_dist_spec
,
...
...
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