Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI][Misc] Add tests for python-only development #9370

Closed
wants to merge 10 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix
  • Loading branch information
cermeng committed Oct 15, 2024
commit 4b936180ad7c55d20ea62f3f4bf91c940abe6dee
7 changes: 6 additions & 1 deletion .buildkite/run-code-dev-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
set -ex
BUILDKITE_COMMIT=$BUILDKITE_COMMIT

# Setup cleanup
remove_docker_container() { docker rm -f vllm-dev-test || true; }
trap remove_docker_container EXIT
remove_docker_container

# Use docker from building wheel stage
DOCKER_BUILDKIT=1 docker build --build-arg max_jobs=16 --build-arg USE_SCCACHE=1 --tag vllm-ci:dev --target base --progress plain .
docker run -dit --entrypoint /bin/bash --privileged=true --network host --name vllm-dev-test vllm-ci:dev
Expand Down Expand Up @@ -33,7 +38,7 @@ docker exec vllm-dev-test bash -c '
cd vllm && \
python3 python_only_dev.py --quit-dev && \
cd / && \
pip uninstall vllm && \
pip uninstall -y vllm && \
pip install https://vllm-wheels.s3.us-west-2.amazonaws.com/${BUILDKITE_COMMIT}/vllm-1.0.0.dev-cp38-abi3-manylinux1_x86_64.whl'

docker rm -f vllm-dev-test