-
-
Couldn't load subscription status.
- Fork 10.9k
Description
Your current environment
The output of `python collect_env.py`
Dockerfile.cpu installation I can't complete the build somehow, I want to use vLLM over CPU since I don't have a graphics card on my own server, but the installation gives an error as follows.
OS= rockylinux 9.4
ram 16gb
vCPU=> 24
Hypervisor= proxmox 8.2.7
docker version => Docker version 28.0.1, build 068a01e
errors messages;
docker build -f Dockerfile.cpu -t vllm-cpu-env --shm-size=4g .
Dockerfile.cpu:54
53 |
54 | >>> RUN --mount=type=cache,target=/root/.cache/pip
55 | >>> --mount=type=cache,target=/root/.cache/ccache
56 | >>> --mount=type=bind,source=.git,target=.git
57 | >>> VLLM_TARGET_DEVICE=cpu python3 setup.py bdist_wheel &&
58 | >>> pip install dist/*.whl &&
59 | >>> rm -rf dist
60 |
ERROR: failed to solve: process "/bin/sh -c VLLM_TARGET_DEVICE=cpu python3 setup.py bdist_wheel && pip install dist/*.whl && rm -rf dist" did not complete successfully: exit code: 1
How you are installing vllm
docker build -f Dockerfile.cpu -t vllm-cpu-env --shm-size=4g .
Before submitting a new issue...
- Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.