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

[Bugfix] Fix a bug caused by pip install setuptools>=49.4.0 for CPU backend #5249

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

DamonFool
Copy link
Contributor

@DamonFool DamonFool commented Jun 4, 2024

Hi all,

When I use docker build -f Dockerfile.cpu -t vllm-cpu-env --shm-size=4g . to build a cpu docker, I find a file named =49.4.0 in the CPU docker instance. Please see the following picture for this bug.
WeChatWorkScreenshot_3492a09e-b8e8-4e32-a5f8-0e27f922e51c

It is caused by

RUN pip install --upgrade pip \
    && pip install wheel packaging ninja setuptools>=49.4.0 numpy

in the Dockerfile.cpu

Actually, pip install setuptools>=49.4.0 is incorrect to install the expected setuptools, which can be fixed by

pip install "setuptools>=49.4.0"

It would be better to fix it.

Thanks.
Best regards,
Jie

Copy link
Member

@mgoin mgoin left a comment

Choose a reason for hiding this comment

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

Nice catch and thank you for your contribution!

@mgoin mgoin enabled auto-merge (squash) June 4, 2024 13:33
@DamonFool
Copy link
Contributor Author

Thanks @mgoin for your review.

There are 5 failing checks of the CI tests which seem to be unrelated to my change.
What should I do next?
Is it possible to get it merged manually?

Thanks.

@WoosukKwon WoosukKwon disabled auto-merge June 4, 2024 16:57
@WoosukKwon WoosukKwon merged commit 87d5abe into vllm-project:main Jun 4, 2024
99 of 102 checks passed
@WoosukKwon
Copy link
Collaborator

WoosukKwon commented Jun 4, 2024

@DamonFool Just force-merged. Thanks for the PR!

@DamonFool
Copy link
Contributor Author

Thanks @WoosukKwon .

@DamonFool DamonFool deleted the fix-cpu-backend branch June 4, 2024 22:48
blinkbear pushed a commit to blinkbear/vllm that referenced this pull request Jun 6, 2024
robertgshaw2-redhat pushed a commit to neuralmagic/nm-vllm that referenced this pull request Jun 11, 2024
joerunde pushed a commit to joerunde/vllm that referenced this pull request Jun 17, 2024
xjpang pushed a commit to xjpang/vllm that referenced this pull request Jun 27, 2024
xjpang pushed a commit to xjpang/vllm that referenced this pull request Jul 8, 2024
xjpang pushed a commit to xjpang/vllm that referenced this pull request Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants