Skip to content

Commit ab228ec

Browse files
committed
Also update cron.sh
1 parent 696f35a commit ab228ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm-benchmarks/cron.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ run_benchmarks() {
6666
}
6767

6868
if command -v nvidia-smi; then
69-
declare -g GPU_DEVICE=$(nvidia-smi --query-gpu=name --format=csv,noheader | awk '{print $2}')
69+
declare -g GPU_DEVICE=$(nvidia-smi -i 0 --query-gpu=name --format=csv,noheader | awk '{print $2}')
7070
elif command -v amd-smi; then
7171
declare -g GPU_DEVICE=$(amd-smi static -g 0 -a | grep 'MARKET_NAME' | awk '{print $2}')
7272
fi

0 commit comments

Comments
 (0)