Skip to content

Commit 63124fa

Browse files
committed
cpu
1 parent cd60d84 commit 63124fa

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/vllm.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,11 @@ jobs:
7979
VLLM_VERSION="$(curl -s https://api.github.com/repos/vllm-project/vllm/releases/latest | jq -r .tag_name | sed 's/^v//')"
8080
export VLLM_VERSION
8181
echo "Installing vLLM ${VLLM_VERSION} (CPU)"
82-
hatch run -- uv pip install "vllm==${VLLM_VERSION}" --extra-index-url "https://wheels.vllm.ai/releases/${VLLM_VERSION}/cpu/"
82+
hatch run -- uv pip install "vllm==${VLLM_VERSION}" --extra-index-url "https://wheels.vllm.ai/releases/${VLLM_VERSION}/cpu/" --index-strategy unsafe-best-match
8383
8484
- name: Start vLLM server
8585
env:
86+
VLLM_TARGET_DEVICE: "cpu"
8687
VLLM_CPU_KVCACHE_SPACE: "4"
8788
run: |
8889
nohup hatch run -- vllm serve ${{ env.VLLM_MODEL }} \

0 commit comments

Comments
 (0)