Skip to content

Commit

Permalink
testing vllm cpu support in ci
Browse files Browse the repository at this point in the history
Signed-off-by: Sivanantham Chinnaiyan <[email protected]>
  • Loading branch information
sivanantha321 committed Jun 26, 2024
1 parent a33ab02 commit 4f08630
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,7 @@ jobs:
test-llm:
runs-on: ubuntu-latest
needs:
[ kserve-image-build, predictor-runtime-build]
[ kserve-image-build]
steps:
- name: Checkout source
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/huggingface-cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ jobs:
# See also https://docs.docker.com/docker-hub/builds/
push:
# Ensure test job passes before pushing image.
# needs: test
needs: test

runs-on: ubuntu-latest
# if: github.event_name == 'push'
if: github.event_name == 'push'

steps:
- name: Checkout source
Expand Down
1 change: 1 addition & 0 deletions test/e2e/predictor/test_huggingface.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ def test_vllm_openai_chat_completions():
model_format=V1beta1ModelFormat(
name="huggingface",
),
image="sivanantha/huggingfaceserver-vllm-cpu@sha256:c4cffce3377c0fcc68e477058c14b61b8e98ad2f41f825302febf0d5eabf0d3d",
args=[
"--model_id",
"facebook/opt-125m",
Expand Down
2 changes: 1 addition & 1 deletion test/scripts/gh-actions/run-e2e-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ fi
PARALLELISM="${2:-1}"
source python/kserve/.venv/bin/activate
pushd test/e2e >/dev/null
pytest -m "$1" --ignore=qpext --log-level=INFO -o log_cli=true -n $PARALLELISM --dist worksteal
pytest -m "local" --ignore=qpext --log-level=INFO -o log_cli=true -n $PARALLELISM --dist worksteal
popd

0 comments on commit 4f08630

Please sign in to comment.