Debian Codegraph @

examples/config_yaml_templates/multi_xpu.yaml

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