Skip to content

Instantly share code, notes, and snippets.

@muellerzr
Created July 31, 2024 19:55
Show Gist options
  • Save muellerzr/92ef84c46311917458e8c79372513395 to your computer and use it in GitHub Desktop.
Save muellerzr/92ef84c46311917458e8c79372513395 to your computer and use it in GitHub Desktop.
compute_environment: LOCAL_MACHINE
debug: false
distributed_type: FSDP
downcast_bf16: 'no'
enable_cpu_affinity: false
fsdp_config:
fsdp_activation_checkpointing: false
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: false
fsdp_sharding_strategy: FULL_SHARD
fsdp_state_dict_type: SHARDED_STATE_DICT
fsdp_sync_module_states: true
fsdp_use_orig_params: true
fsdp_transformer_layer_cls_to_wrap: BertLayer
main_training_function: main
mixed_precision: 'no'
num_machines: 1
num_processes: 2
rdzv_backend: static
same_network: false
tpu_env: []
tpu_use_cluster: false
tpu_use_sudo: false
use_cpu: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment