Skip to content

Commit

Permalink
[fine_tuning]: replicate Boaz FSDP config
Browse files Browse the repository at this point in the history
  • Loading branch information
albertoperdomo2 committed Jan 2, 2025
1 parent fb2b2a0 commit f90ccde
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,12 @@ if [[ $WORLD_SIZE == 1 ]]; then
--num_machines=1 \
--mixed_precision=no \
--use_fsdp \
--fsdp_auto_wrap_policy="TRANSFORMER_BASED_WRAP" \
--fsdp_backward_prefetch="BACKWARD_PRE" \
--fsdp_forward_prefetch="false" \
--fsdp_auto_wrap_policy="HYBRID_SHARD" \
--fsdp_forward_prefetch="BACKWARD_POST" \
--fsdp_offload_params="false" \
--fsdp_sharding_strategy=1 \
--fsdp_state_dict_type="FULL_STATE_DICT" \
--fsdp_cpu_ram_efficient_loading="true" \
--fsdp_state_dict_type="SHARDED_STATE_DICT" \
--fsdp_sync_module_states="true" \
--fsdp_use_orig_params="false" \
--rdzv_backend="static" \
--same_network \
--machine_rank=0 \
Expand Down

0 comments on commit f90ccde

Please sign in to comment.