Add Windows wheel build for x86_64 platform#765
Add Windows wheel build for x86_64 platform#765gigony wants to merge 1 commit intorapidsai:branch-24.10from
Conversation
5727f4d to
06b46a6
Compare
Signed-off-by: Gigon Bae <gbae@nvidia.com>
06b46a6 to
2ec710e
Compare
|
I can see windows wheels are available here: https://downloads.rapids.ai/ci/cucim/pull-request/765/2ec710e/ |
|
Thanks @gigony, I downloaded the Python 3.10 artifacts from the link you provided and installed the I used a Python 3.10 conda environment with NumPy 1.26.4 and CuPy 13.3.0 ( The only failures were in a small number of tests internal 2D separable filtering kernels that are not part of CuPy. I will make a separate MR to disable using these cuCIM kernels on Windows and always fall back to the default CuPy elementwise kernels on Windows. |
Addresses #763
This PR builds the wheel for Windows (only for amd64) if the current arch is x86_64, by updating
build_wheel.sh.Since CI is building the wheel with multiple configurations, it is currently generating the same Windows wheel for both Python 3.10 and 3.11 (resulting in four identical Windows wheels for both cucim-cu11 and cucim-cu12 PyPI registry).
Currently, there is no way to determine if the build is using the latest available Python version from
build_wheel.sh. It can be controlled by updating the CI workflow, but we'll need help from the DevOps team.The Windows wheel size is around 700KB, and hopefully, the redundant wheel files across multiple configurations won't cause any issues when registering them to PyPI from the S3 location (such as this).