We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 696f35a commit ab228ecCopy full SHA for ab228ec
vllm-benchmarks/cron.sh
@@ -66,7 +66,7 @@ run_benchmarks() {
66
}
67
68
if command -v nvidia-smi; then
69
- declare -g GPU_DEVICE=$(nvidia-smi --query-gpu=name --format=csv,noheader | awk '{print $2}')
+ declare -g GPU_DEVICE=$(nvidia-smi -i 0 --query-gpu=name --format=csv,noheader | awk '{print $2}')
70
elif command -v amd-smi; then
71
declare -g GPU_DEVICE=$(amd-smi static -g 0 -a | grep 'MARKET_NAME' | awk '{print $2}')
72
fi
0 commit comments