Commit 41117bc
Chapter 9 cuGraph: update install pins and add CUDA library preload
The notebook pinned cudf-cu12 and cugraph-cu12 to 24.10, which has no wheels
for current Python versions, and nx-cugraph-cu12 was unpinned so it could
resolve to a version out of step with the rest of RAPIDS.
- Pin cudf-cu12 / cugraph-cu12 to 26.8.* and nx-cugraph-cu12 to 26.8.*.
- Add a cell that pre-loads the RAPIDS nvidia/* CUDA math libraries with
RTLD_GLOBAL before importing cugraph, avoiding
"ImportError: libnvrtc.so.12: cannot open shared object file" on pip
wheel installs. It is a no-op on a correctly configured environment.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent e189b55 commit 41117bc
1 file changed
Lines changed: 38 additions & 2 deletions
Lines changed: 38 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
93 | 96 | | |
94 | 97 | | |
95 | | - | |
| 98 | + | |
96 | 99 | | |
97 | 100 | | |
98 | 101 | | |
| |||
153 | 156 | | |
154 | 157 | | |
155 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
156 | 192 | | |
157 | 193 | | |
158 | 194 | | |
| |||
307 | 343 | | |
308 | 344 | | |
309 | 345 | | |
310 | | - | |
| 346 | + | |
311 | 347 | | |
312 | 348 | | |
313 | 349 | | |
| |||
0 commit comments