26 lines
694 B
YAML
26 lines
694 B
YAML
compute_environment: LOCAL_MACHINE
|
|
debug: false
|
|
distributed_type: FSDP
|
|
downcast_bf16: 'no'
|
|
fsdp_config:
|
|
fsdp_auto_wrap_policy: TRANSFORMER_BASED_WRAP
|
|
fsdp_backward_prefetch: BACKWARD_PRE
|
|
fsdp_cpu_ram_efficient_loading: true
|
|
fsdp_forward_prefetch: false
|
|
fsdp_offload_params: true
|
|
fsdp_sharding_strategy: FULL_SHARD
|
|
fsdp_state_dict_type: FULL_STATE_DICT
|
|
fsdp_sync_module_states: true
|
|
fsdp_use_orig_params: false
|
|
machine_rank: 0
|
|
main_training_function: main
|
|
mixed_precision: fp16
|
|
num_machines: 1 # the number of nodes
|
|
num_processes: 2 # the number of GPUs in all nodes
|
|
rdzv_backend: static
|
|
same_network: true
|
|
tpu_env: []
|
|
tpu_use_cluster: false
|
|
tpu_use_sudo: false
|
|
use_cpu: false
|