We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f615904 commit 77feee9Copy full SHA for 77feee9
.github/workflows/phoenix/bench.sh
@@ -2,7 +2,8 @@
2
3
n_ranks=12
4
5
-if [ "$job_device" = "gpu" ]; then
+echo "My benchmarking device is:" $device
6
+if [ "$device" = "gpu" ]; then
7
n_ranks=$(nvidia-smi -L | wc -l) # number of GPUs on node
8
gpu_ids=$(seq -s ' ' 0 $(($n_ranks-1))) # 0,1,2,...,gpu_count-1
9
device_opts="--gpu -g $gpu_ids"
0 commit comments