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
63c300ba
Commit
63c300ba
authored
Apr 17, 2025
by
wxj
Browse files
Update loader_llama_mistral.py
parent
be4dda7b
Pipeline
#2651
passed with stage
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
659 additions
and
659 deletions
+659
-659
tools/checkpoint/loader_llama_mistral.py
tools/checkpoint/loader_llama_mistral.py
+659
-659
No files found.
tools/checkpoint/loader_llama_mistral.py
View file @
63c300ba
...
...
@@ -514,7 +514,7 @@ def _load_checkpoint(queue, args):
mpu
.
set_tensor_model_parallel_world_size
(
margs
.
tensor_model_parallel_size
)
mpu
.
set_pipeline_model_parallel_world_size
(
margs
.
pipeline_model_parallel_size
)
mpu
.
set_virtual_pipeline_model_parallel_world_size
(
margs
.
virtual_pipeline_model_parallel_size
)
fused_kernels
.
load
(
margs
)
#
fused_kernels.load(margs)
# Short aliases.
tp_size
=
margs
.
tensor_model_parallel_size
...
...
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