Skip to content

Commit

Permalink
sharded
Browse files Browse the repository at this point in the history
  • Loading branch information
v-chen_data committed Jun 11, 2024
1 parent a255a6f commit 2796140
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/trainer/test_fsdp_checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -935,6 +935,7 @@ def test_fsdp_partitioned_state_dict_load(
if use_hsdp:
fsdp_config = FSDPConfig(
sharding_strategy='HYBRID_SHARD',
state_dict_type='sharded',
sharded_ckpt_prefix_dir='ba{batch}',
data_parallel_shard_degree=data_parallel_shard_degree,
data_parallel_replicate_degree=world_size // data_parallel_shard_degree,
Expand Down

0 comments on commit 2796140

Please sign in to comment.