Commit 260fef9
committed
GH-47371: [Python] Fix installation of Numba-CUDA in CI environment
As per the Numba-CUDA docs, `numba-cuda` should be installed with a
variant depending on the CUDA version. Failing to specify the variant
leads to `numba-cuda` being installed without the CUDA toolkit wheels
that it needs. This commit adds the variant specifier to the
installation.
I think Arrow is using CUDA 11.7 in CI images, so I've changed the
Numba-CUDA version to 0.18.1, which is the last version to support CUDA
11 (the Numba-CUDA policy is to support all minor versions within the
last two major versions of CUDA). IF Arrow moves to CUDA 12 for CI
images, this could be changed back to `latest` in future.
Numba-CUDA installation docs: https://nvidia.github.io/numba-cuda/user/installation.html1 parent 69d2487 commit 260fef9
File tree
4 files changed
+20
-7
lines changed- ci
- docker
- scripts
4 files changed
+20
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | | - | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
51 | 61 | | |
52 | | - | |
| 62 | + | |
53 | 63 | | |
54 | | - | |
| 64 | + | |
55 | 65 | | |
56 | | - | |
| 66 | + | |
| 67 | + | |
57 | 68 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
966 | 966 | | |
967 | 967 | | |
968 | 968 | | |
| 969 | + | |
969 | 970 | | |
970 | 971 | | |
971 | 972 | | |
| |||
0 commit comments