Skip to content

Commit 696f35a

Browse files
committed
Remove redundant code
1 parent a693dce commit 696f35a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm-benchmarks/run.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export HEAD_BRANCH=main
107107
export HEAD_SHA=$(git rev-parse --verify HEAD)
108108

109109
if command -v nvidia-smi; then
110-
declare -g GPU_DEVICE=$(nvidia-smi -i 0 --query-gpu=name --format=csv,noheader | awk '{print $2}' | head -n1)
110+
declare -g GPU_DEVICE=$(nvidia-smi -i 0 --query-gpu=name --format=csv,noheader | awk '{print $2}')
111111
elif command -v amd-smi; then
112112
declare -g GPU_DEVICE=$(amd-smi static -g 0 -a | grep 'MARKET_NAME' | awk '{print $2}')
113113
fi

0 commit comments

Comments
 (0)