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
2d40759a
Unverified
Commit
2d40759a
authored
Jun 28, 2023
by
digger yu
Committed by
GitHub
Jun 28, 2023
Browse files
fix #3852 path error (#4058)
parent
1ee947f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/language/gpt/titans/train_gpt.py
examples/language/gpt/titans/train_gpt.py
+1
-1
No files found.
examples/language/gpt/titans/train_gpt.py
View file @
2d40759a
...
...
@@ -15,7 +15,7 @@ from colossalai.nn import LinearWarmupLR
from
colossalai.trainer
import
Trainer
,
hooks
from
colossalai.utils
import
colo_set_process_memory_fraction
,
is_using_pp
from
colossalai.utils.timer
import
MultiTimer
from
colossalai.zero.init_ctx
import
ZeroInitContext
from
colossalai.zero.
legacy.
init_ctx
import
ZeroInitContext
def
calc_local_model_size
(
model
:
torch
.
nn
.
Module
):
...
...
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