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
PyPI dynamic dependencies #92085
Comments
Here are the ldd trace of current dynamic dependencies
|
What about cusolve? Also, are you sure we are not linking statically with cudart? |
Litmus test for the effort success: size difference between pytorch cpu and pytorch-pypi should be the equal to size difference between pytorch+CUDA and pytorch-CPU build in CI (multiplied by number of architectures we compile for) |
@malfet Here is our build for reference https://github.com/pytorch/pytorch/actions/runs/4041748764/jobs/6948643860#step:14:1263 This PR reworks statically linked cuda libraries: |
Size differences for pypi-cudnn package: Release 1.13.1 - 869mb for manywheel-py3_x-cuda11_7-with-pypi-cudnn Nightly 1.30.2023 - 576mb or manywheel-py3_x-cuda11_7-with-pypi-cudnn Nightly 1.30.2023 CPU build manywheel-py3_x-cpu 186 MB |
@malfet Not sure I fully understand the response, which pytorch+CUDA CI build exactly do you have in mind ? |
Added smoke test: pytorch/builder#1289 |
Closing this, since all critical tasks are resolved |
very excited about this. finally our wheel is getting to sane sizes! :) |
馃悰 Describe the bug
Pytorch should not embed any libraries that are otherwise available on pypi.
Acceptance criteria:
Versions
nightly
The text was updated successfully, but these errors were encountered: