Skip to content

Conversation

@davidxia
Copy link
Contributor

@davidxia davidxia commented Apr 20, 2025

for building from source for CPU.
The python3-dev apt package is required otherwise
installation fails with the error described here.
#5671 (comment)

@github-actions
Copy link

👋 Hi! Thank you for contributing to the vLLM project.

💬 Join our developer Slack at https://slack.vllm.ai to discuss your PR in #pr-reviews, coordinate on features in #feat- channels, or join special interest groups in #sig- channels.

Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run fastcheck CI which starts running only a small and essential subset of CI tests to quickly catch errors. You can run other CI tests on top of those by going to your fastcheck build on Buildkite UI (linked in the PR checks section) and unblock them. If you do not have permission to unblock, ping simon-mo or khluu to add you in our Buildkite org.

Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging.

To run CI, PR reviewers can either: Add ready label to the PR or enable auto-merge.

🚀

@mergify mergify bot added the documentation Improvements or additions to documentation label Apr 20, 2025
for building from source for CPU.
The python3-dev apt package is required otherwise
installation fails with the error described here.
vllm-project#5671 (comment)

Signed-off-by: David Xia <david@davidxia.com>
@DarkLight1337
Copy link
Member

cc @bigPYJ1151

@bigPYJ1151
Copy link
Member

bigPYJ1151 commented Apr 21, 2025

Hmm, overall LGTM.
But actually in the CPU docker image python-dev is not required, everything worked well with normal python. Perhaps the error is also due to some other environment problems such as CMake version.

Copy link
Member

@Isotr0py Isotr0py left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall LGTM too.

@Isotr0py
Copy link
Member

But actually in the CPU docker image python-dev is not required, everything worked well with normal python. Perhaps the error is also due to some other environment problems such as CMake version.

Hmm, exactly, I don't have python-dev installed in my cpu-environment too. I suspect the root issue caused by camke refer to #5671 (comment)

@Isotr0py Isotr0py enabled auto-merge (squash) April 21, 2025 15:31
@github-actions github-actions bot added the ready ONLY add when PR is ready to merge/full CI is needed label Apr 21, 2025
@davidxia
Copy link
Contributor Author

Hm, I can consistently repro this error with cmake==4.0.0. I'm using Ubuntu Noble CPU-only with uv venv. I followed the instructions exactly in https://docs.vllm.ai/en/stable/getting_started/installation/cpu.html#build-wheel-from-source.

Installing python3-dev is the only thing I've found that fixes it, but maybe I'm missing something?

full logs

@davidxia
Copy link
Contributor Author

Looks like both fastcheck/pr and fastcheck/pr/docker-build-image checks failed because of unrelated upstream apt package server timeouts. Retrigger?

[2025-04-20T14:00:38Z] 106.2 status: 504
  | [2025-04-20T14:00:38Z] 106.2 vary: Accept-Encoding
  | [2025-04-20T14:00:38Z] 106.2 ---
  | [2025-04-20T14:00:38Z] 106.2 Response body:
  | [2025-04-20T14:00:38Z] 106.2 ---
  | [2025-04-20T14:00:38Z] 106.2 b"<html><body><h1>504 Gateway Time-out</h1>\nThe server didn't respond in time.\n</body></html>\n"

@Isotr0py Isotr0py merged commit 63e26ff into vllm-project:main Apr 21, 2025
34 of 36 checks passed
@davidxia davidxia deleted the patch-1 branch April 21, 2025 16:18
yangw-dev pushed a commit to yangw-dev/vllm that referenced this pull request Apr 21, 2025
Signed-off-by: David Xia <david@davidxia.com>
Signed-off-by: Yang Wang <elainewy@meta.com>
frieda-huang pushed a commit to frieda-huang/vllm that referenced this pull request Apr 23, 2025
Signed-off-by: David Xia <david@davidxia.com>
Signed-off-by: Frieda (Jingying) Huang <jingyingfhuang@gmail.com>
jikunshang pushed a commit to jikunshang/vllm that referenced this pull request Apr 29, 2025
Signed-off-by: David Xia <david@davidxia.com>
lk-chen pushed a commit to lk-chen/vllm that referenced this pull request Apr 29, 2025
Signed-off-by: David Xia <david@davidxia.com>
adobrzyn pushed a commit to HabanaAI/vllm-fork that referenced this pull request Apr 30, 2025
Signed-off-by: David Xia <david@davidxia.com>
Signed-off-by: Agata Dobrzyniewicz <adobrzyniewicz@habana.ai>
RichardoMrMu pushed a commit to RichardoMrMu/vllm that referenced this pull request May 12, 2025
Signed-off-by: David Xia <david@davidxia.com>
Signed-off-by: Mu Huai <tianbowen.tbw@antgroup.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation ready ONLY add when PR is ready to merge/full CI is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants