LLaMA-Factory/examples/accelerate/single_config.yaml
hiyouga 5dd3c1ab79 update examples
Former-commit-id: b87f8f15194923392d1a1c3d3c617b463cdd8379
2024-04-04 14:48:21 +08:00

17 lines
375 B
YAML

compute_environment: LOCAL_MACHINE
debug: false
distributed_type: MULTI_GPU
downcast_bf16: 'no'
gpu_ids: all
machine_rank: 0
main_training_function: main
mixed_precision: fp16
num_machines: 1 # the number of nodes
num_processes: 4 # 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