Skip to content

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

Merged
WoosukKwon merged 1 commit intovllm-project:mainfrom
DamonFool:fix-cpu-backend
Jun 4, 2024
Merged

[Bugfix] Fix a bug caused by pip install setuptools>=49.4.0 for CPU backend#5249
WoosukKwon merged 1 commit intovllm-project:mainfrom
DamonFool:fix-cpu-backend

Conversation

@DamonFool
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
@WoosukKwon
Copy link
Copy Markdown
Collaborator

WoosukKwon commented Jun 4, 2024

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

@DamonFool
Copy link
Copy Markdown
Contributor Author

Thanks @WoosukKwon .

@DamonFool DamonFool deleted the fix-cpu-backend branch June 4, 2024 22:48
chengzhi-lu pushed a commit to chengzhi-lu/vllm-infersche 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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants