Skip to content

Why are x86_64 Linux wheels so large? #5123

Answered by johnthagen
johnthagen asked this question in Q&A
Discussion options

You must be logged in to vote

Looking into the wheel itself I see cpu/pybind.cpython-39-x86_64-linux-gnu.so at 177MB and cuda/pybind.cpython-39-x86_64-linux-gnu.so at 752MB. These seem to be adding support for Tensorflow and Pytorch.

I wonder if there would be a way to publish an open3d-lite or similar where users could opt for a lighter weight Open3D wheel if they are not using these heavier features.

Alternatively, open3d could be the stripped down version and open3d-ml could be packaged that includes Tensorflow and Pytorch support.

OpenCV does this with opencv-python-headless, which is a stripped down version of OpenCV.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@johnthagen
Comment options

Answer selected by johnthagen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant