Commit e202ed2
authored
Add CUDA 13 support and add metapackages (#320)
## Summary
This PR adds support for CUDA 13 (preserving full support for CUDA 12).
## Details
* Bump CUDA-Q commit to one that supports CUDA 13
(NVIDIA/cuda-quantum#3502)
* Produce *2 sets* of wheels, bringing our total number of *regular*
wheels to 4:
* cudaq-qec-cu12
* cudaq-qec-cu13
* cudaq-solvers-cu12
* cudaq-solvers-cu13
* Additionally, produce meta-packages (cudaq-qec and cudaq-solvers)
which will automatically choose the appropriate subpackage. We already
have cudaq-qec and cudaq-solvers wheels; these 0.5.0 meta-packages will
just replace the older 0.4.0 packages at the time of release.
* These meta-packages will contain the same optional dependencies as the
child packages. That is - `pip install
cudaq-qec[tensor-network-decoder]` will use the metapackage to
automatically transform that into `pip install
cudaq-qec-cuXY[tensor-network-decoder]`, where `XY` is the appropriate
CUDA version. This also applies to `cudaq-solvers[gqe]`.
* Matrix the build and test portion of the CI to be running both 12.6
and 13.0.
## Todo (in a separate PR)
* Once internal pipelines are updated, update the "release" workflows to
incorporate private artifacts from both cu12 and cu13 images.
* Consider removing the `torch` dependency, and instead update the docs
to have users manually install the version that they want (pending
discussion).
---------
Signed-off-by: Ben Howe <[email protected]>1 parent 333a06c commit e202ed2
File tree
31 files changed
+907
-64
lines changed- .github
- actions
- get-cudaq-build
- get-cudaq-wheels
- workflows
- scripts
- docker/build_env
- libs
- qec
- python/metapackages
- solvers
- python/metapackages
- scripts/ci
31 files changed
+907
-64
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
16 | 20 | | |
17 | | - | |
18 | | - | |
| 21 | + | |
| 22 | + | |
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
| 75 | + | |
75 | 76 | | |
76 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
77 | 80 | | |
78 | 81 | | |
79 | 82 | | |
80 | 83 | | |
81 | 84 | | |
82 | 85 | | |
83 | | - | |
84 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
85 | 92 | | |
86 | 93 | | |
87 | 94 | | |
| |||
92 | 99 | | |
93 | 100 | | |
94 | 101 | | |
95 | | - | |
| 102 | + | |
96 | 103 | | |
97 | 104 | | |
98 | 105 | | |
| |||
155 | 162 | | |
156 | 163 | | |
157 | 164 | | |
| 165 | + | |
158 | 166 | | |
159 | 167 | | |
160 | 168 | | |
| |||
168 | 176 | | |
169 | 177 | | |
170 | 178 | | |
171 | | - | |
| 179 | + | |
| 180 | + | |
172 | 181 | | |
173 | | - | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
174 | 185 | | |
175 | 186 | | |
176 | 187 | | |
177 | 188 | | |
178 | 189 | | |
179 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
180 | 193 | | |
181 | 194 | | |
| 195 | + | |
182 | 196 | | |
183 | 197 | | |
184 | 198 | | |
| |||
0 commit comments