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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Reduce wheel size by not shipping debug symbols #4602

Merged
merged 1 commit into from
May 5, 2024

Conversation

simon-mo
Copy link
Collaborator

@simon-mo simon-mo commented May 5, 2024

Due to #3792, we cannot ship wheels greater than 100MB in size. However, the latest wheel build from v0.4.2 8d8357c generated wheel is 103MB. This is pretty strange as my locally built wheel with the same environment generated wheel of size 97MB. The two wheels have exactly the same set of kernels for same set of sms.

Rather than comparing the binaries, I found if debug info is stripped, the wheel size can be greatly reduced. Therefore, until we figure out other approaches to reduce the debug info for the wheel build, the PyPI packages will live without debug symbols 馃槩

@simon-mo
Copy link
Collaborator Author

simon-mo commented May 5, 2024

image

The size built within docker container is <100MB. But the wheels generated by github action runner is >100MB

image

I will continue work on #4299 but it might take some time....

@simon-mo simon-mo merged commit c7f2cf2 into vllm-project:main May 5, 2024
22 of 37 checks passed
z103cb pushed a commit to z103cb/opendatahub_vllm that referenced this pull request May 7, 2024
dtrifiro pushed a commit to opendatahub-io/vllm that referenced this pull request May 7, 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.

None yet

1 participant