pycuda icon indicating copy to clipboard operation
pycuda copied to clipboard

Add some pre-built wheels to make users easy to install pycuda without compiling

Open wqh17101 opened this issue 1 year ago • 2 comments

Right now,users need to build their own pycuda by themselves,how about addsome pre-built wheels to make users easy to install pycuda without compiling

wqh17101 avatar Apr 11 '23 06:04 wqh17101

I don't have the bandwidth to put those together, but if you (or anyone) would like to submit a PR that builds those wheels (say, using cibuildwheel), I might be open to merging and maintaining them.

inducer avatar Apr 11 '23 14:04 inducer

I think the tricky part will be that wheels built against a specific CUDA version don't always work with other CUDA versions. At a minimum it bakes in the SONAME for libcurand (e.g. my pycuda is linked against libcurand.so.10). cupy has a similar issue and creates separate installable packages for each CUDA version, and they've also been experimenting with a universal wheel metapackage that decides which real package to depend on at install time, although that has some wrinkles (basically, the packaging ecosystem expects dependencies to be static).

bmerry avatar May 18 '23 15:05 bmerry