File size: 108 Bytes
b5beb60
 
 
 
1
2
3
4
#!/bin/bash
set -x
export GPU=$(nvidia-smi --list-gpus | wc -l)
torchrun --nproc-per-node=$GPU run.py ${@:1}