Skip to content

Commit

Permalink
Add temporary command to see if HF_TOKEN is being set properly
Browse files Browse the repository at this point in the history
  • Loading branch information
stbaione committed Nov 25, 2024
1 parent c9f4d33 commit 4fa094c
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/ci-sglang-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,21 @@ jobs:
# HIP (Heterogeneous-computing Interface for Portability) for AMD
# => base docker rocm/vllm-dev:20241022, not from public vllm whl
# srt_hip = ["sglang[runtime_common]", "torch", "vllm==0.6.3.dev13"]
- name: Pull SGLang Image (Had issues with sglang:v0.3.5.post1-rocm620)
- name: Pull SGLang Image (Had issues with sglang:v0.3.5.post2-rocm620)
run: |
docker pull lmsysorg/sglang:v0.3.5.post1-rocm620
- name: Check HF_TOKEN
run: |
if [ -z "$HF_TOKEN" ]; then
echo "Error: HF_TOKEN is not set or empty."
exit 1
else
echo "HF_TOKEN is set"
fi
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}

- name: Run SGLang Server
run: |
docker run -d \
Expand Down

0 comments on commit 4fa094c

Please sign in to comment.