Skip to content

Commit

Permalink
fix init issue for silently ignoring the deepspeed config
Browse files Browse the repository at this point in the history
  • Loading branch information
xylian86 committed Oct 15, 2024
1 parent 4448492 commit 008b413
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions megatron/initialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ def setup_deepspeed_random_and_activation_checkpointing(args):

deepspeed.checkpointing.configure(
mpu,
deepspeed_config=args.deepspeed_config,
partition_activations=args.partition_activations,
contiguous_checkpointing=args.contigious_checkpointing,
num_checkpoints=num_layers,
Expand Down

0 comments on commit 008b413

Please sign in to comment.