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

Example: Update vLLM example to use PyTorch <2.1 (CUDA 11.8) #2786

Merged
merged 1 commit into from
Nov 14, 2023
Merged
Changes from all commits
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
5 changes: 5 additions & 0 deletions llm/vllm/serve-openai-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ setup: |
pip install accelerate

cd vllm
# NOTE(skypilot): This is the last commit before the vLLM commit
# (06458a0b42449398aa2ba001d9dbaff256159448) that upgraded its requirements to
# PyTorch 2.1 which uses CUDA 12.1. Since currently our default GCP image
# uses CUDA 11.8, we use this commit to avoid the CUDA version mismatch.
git checkout 1a2bbc930135cd3b94fbff2aafbdf5c568acc8bd
pip list | grep vllm || pip install .
python -c "import huggingface_hub; huggingface_hub.login('${HF_TOKEN}')"

Expand Down