Debian Codegraph @

examples/config_yaml_templates/multi_gpu.yaml

raw
1 # Specify distributed_type as `MULTI_GPU` for DDP
2 distributed_type: "MULTI_GPU"
3 # Can be one of "no", "fp16", or "bf16" (see `transformer_engine.yaml` for `fp8`)
4 mixed_precision: "bf16"
5 # Specify the number of GPUs to use
6 num_processes: 2