qsim icon indicating copy to clipboard operation
qsim copied to clipboard

[WIP] Include GPU in wheels

Open 95-martin-orion opened this issue 3 years ago • 3 comments

Fixes #430.

Since cross-platform support requires building on the manylinux image, installing NVCC on the runner is the best we can do unless we decide to push a manylinux + CUDA image to Docker Hub.

95-martin-orion avatar Nov 16 '21 17:11 95-martin-orion

Bazel page is returning 404s, need to wait for it to come back and retry.

95-martin-orion avatar Nov 16 '21 17:11 95-martin-orion

An inevitable side effect of building GPU support on machines that lack GPU support: we have no way to test GPU behavior in continuous integration. However, since the wheels generated by GHA are accessible from the test artifacts, it will be possible for us to spin up a GPU-enabled machine, copy over the wheels, and test before release.

If we move forward with this, the process outlined above will become a mandatory part of all GPU changes.

95-martin-orion avatar Jan 05 '22 23:01 95-martin-orion

@95-martin-orion @sergeisakov FYI, we prepared a demo to show how to build a project upon CUDA/cuQuantum wheels: https://github.com/NVIDIA/cuQuantum/tree/main/extra/demo_build_with_wheels Let us know if it helps!

leofang avatar Jan 26 '23 15:01 leofang