Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into hzheng-data-fix
  • Loading branch information
saforem2 committed Oct 18, 2024
2 parents 68da2db + deb95cd commit ab3a8ec
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 ab3a8ec

Please sign in to comment.