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
Megatron-LM
Commits
a65d5678
Commit
a65d5678
authored
Apr 17, 2025
by
wxj
Browse files
Update saver_legacy.py
parent
63c300ba
Pipeline
#2652
passed with stage
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
415 additions
and
415 deletions
+415
-415
tools/checkpoint/saver_legacy.py
tools/checkpoint/saver_legacy.py
+415
-415
No files found.
tools/checkpoint/saver_legacy.py
View file @
a65d5678
...
@@ -206,7 +206,7 @@ def save_checkpoint(queue, args):
...
@@ -206,7 +206,7 @@ def save_checkpoint(queue, args):
mpu
.
set_pipeline_model_parallel_world_size
(
args
.
target_pipeline_parallel_size
)
mpu
.
set_pipeline_model_parallel_world_size
(
args
.
target_pipeline_parallel_size
)
mpu
.
set_tensor_model_parallel_rank
(
0
)
mpu
.
set_tensor_model_parallel_rank
(
0
)
mpu
.
set_pipeline_model_parallel_rank
(
0
)
mpu
.
set_pipeline_model_parallel_rank
(
0
)
fused_kernels
.
load
(
margs
)
#
fused_kernels.load(margs)
# Embeddings
# Embeddings
# -----------
# -----------
...
...
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