Skip to content

Commit

Permalink
set required fsdp configs for fsdp+qlora
Browse files Browse the repository at this point in the history
  • Loading branch information
winglian committed Mar 21, 2024
1 parent c1303ba commit eaaa015
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions examples/llama-2/qlora-fsdp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,11 @@ weight_decay: 0.0
fsdp:
- full_shard
fsdp_config:
fsdp_cpu_ram_efficient_loading: true
fsdp_limit_all_gathers: true
fsdp_sync_module_states: true
fsdp_offload_params: true
fsdp_use_orig_params: true
fsdp_use_orig_params: false
fsdp_cpu_ram_efficient_loading: true
fsdp_transformer_layer_cls_to_wrap: LlamaDecoderLayer
fsdp_state_dict_type: SHARDED_STATE_DICT
special_tokens:

0 comments on commit eaaa015

Please sign in to comment.