Skip to content

Commit 4a2eefe

Browse files
fix: modify VLLM_URL for containerized environments
Signed-off-by: Nathan Weinberg <nweinber@redhat.com>
1 parent 52561ee commit 4a2eefe

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

.github/actions/setup-vllm/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ runs:
1212
--name vllm \
1313
-p 8000:8000 \
1414
--privileged=true \
15+
--net=host \
1516
quay.io/higginsd/vllm-cpu:65393ee064 \
1617
--host 0.0.0.0 \
1718
--port 8000 \

.github/workflows/redhat-distro-container.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ jobs:
6060
shell: bash
6161
env:
6262
INFERENCE_MODEL: meta-llama/Llama-3.2-1B-Instruct
63+
VLLM_URL: http://localhost:8000/v1
6364
run: ./tests/smoke.sh
6465

6566
- name: Log in to Quay.io

tests/smoke.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ function start_and_wait_for_llama_stack_container {
77
docker run \
88
-d \
99
--pull=never \
10+
--net=host \
1011
-p 8321:8321 \
1112
--env INFERENCE_MODEL="$INFERENCE_MODEL" \
13+
--env VLLM_URL="$VLLM_URL" \
1214
--env TRUSTYAI_LMEVAL_USE_K8S=False \
1315
--env TRUSTYAI_LM_EVAL_NAMESPACE=dummy \
1416
--name llama-stack \

0 commit comments

Comments
 (0)