gsplat icon indicating copy to clipboard operation
gsplat copied to clipboard

Publish the precompiled wheels for python 3.11

Open martinResearch opened this issue 1 year ago • 7 comments

Thank you for this library. It would be great to publish the pre-compiled python wheels for python 3.11, could that be added to the release script?

martinResearch avatar Oct 22 '24 21:10 martinResearch

Hi, any blocker on this I can help wit ? This prevents me from switching to python 3.11 on a large project, which is not ideal.

martinResearch avatar Mar 08 '25 13:03 martinResearch

hey srry for the late reply. i think the question is where to host it. I don't want to host all python versions in github release ...

liruilong940607 avatar Apr 21 '25 23:04 liruilong940607

I'm not sure what a great alternative to GitHub Releases would be for distributing the binaries. I listed a few potential options for publishing to PyPI in issue #331 , but none of them seemed ideal given the size constraints and compatibility concerns.

If the main issue is the total size of the release, one option could be to drop support for CUDA 11.8 to reduce the number of build variants.

You also mentioned in that thread that "gsplat is fairly lightly dependent on PyTorch, so a precompiled wheel using a specific PyTorch version might just work across a wide range of versions." It could be worth testing whether a wheel built for the latest PyTorch version is also compatible with older ones. Maybe we can decouple further gsplat from the pytorch version to the point where we can drop the pytorch version suffix from the wheel name?

martinResearch avatar Apr 24 '25 22:04 martinResearch

Maybe we can decouple further gsplat from the pytorch version to the point where we can drop the pytorch version suffix from the wheel name?

Yeah i like the idea of exploring this path. And actually I think maybe even possible to decouple the python version suffix as well because I can't thinking of anything that depends on specific python versions. (something like --manylinux-- but I'm not familiar with how to set this up)

liruilong940607 avatar Apr 24 '25 22:04 liruilong940607

I think https://github.com/pypa/cibuildwheel this tool could be used to build multi-python-verison wheel.

liruilong940607 avatar Apr 24 '25 23:04 liruilong940607

Ok i looked into it but wasn't able to make it work with cibuildwheel ...

liruilong940607 avatar Apr 25 '25 00:04 liruilong940607

this could be of interest once available https://discuss.python.org/t/wheelnext-wheel-variants-an-update-and-a-request-for-feedback/102383

martinResearch avatar Nov 07 '25 09:11 martinResearch