Skip to content

Commit 4a7f7a2

Browse files
set default branch to main and fix workflow (#73)
1 parent 579c719 commit 4a7f7a2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/sglang-benchmark.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
with:
8989
repository: sgl-project/sglang
9090
path: sglang-benchmarks/sglang
91-
ref: ${{ inputs.sglang_branch || 'v0.5.1.post2' }}
91+
ref: ${{ inputs.sglang_branch || 'main' }}
9292
fetch-depth: 0
9393

9494
- uses: actions/setup-python@v5
@@ -126,6 +126,8 @@ jobs:
126126
127127
if [[ "${DEVICE_NAME}" == "cuda" ]]; then
128128
DEVICE_TYPE=$(nvidia-smi -i 0 --query-gpu=name --format=csv,noheader | awk '{print $2}')
129+
CUDA_HOME="/usr/local/cuda"
130+
echo "CUDA_HOME=$CUDA_HOME" >> $GITHUB_ENV
129131
elif [[ "${DEVICE_NAME}" == "rocm" ]]; then
130132
DEVICE_TYPE=$(rocminfo | grep "Marketing Name" | tail -n1 | awk -F':' '{print $2}' | xargs)
131133
elif [[ "${DEVICE_NAME}" == "cpu" ]]; then

0 commit comments

Comments
 (0)