Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 492 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 492 Bytes

Run test with accelerate on XPU/GPU

run config

accelerate config

Run test command

XPU:

CCL_ZE_IPC_EXCHANGE=sockets accelerate launch --main_process_port=29502 ccl_test.py --device xpu --launch torch

GPU:

accelerate launch --main_process_port=29502  ccl_test.py --device cuda 2>&1 |tee nvidia.log

Run test with mpi on XPU

CCL_ZE_IPC_EXCHANGE=sockets mpirun -n 2 -l  python ccl_test.py --device xpu --launch mpi