Repository navigation
Expand file tree
/
Copy pathdependencies.yaml
More file actions
612 lines (610 loc) · 16.8 KB
/
Copy pathdependencies.yaml
File metadata and controls
612 lines (610 loc) · 16.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
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
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
# SPDX-FileCopyrightText: Copyright (c) 2022-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
# Dependency list for https://github.com/rapidsai/dependency-file-generator
files:
all:
output: conda
matrix:
cuda: ["12.9", "13.4"]
arch: [x86_64, aarch64]
includes:
- build
- cython_build
- checks
- cuda_version
- depends_on_rapids_logger
- develop
- docs
- py_version
- rapids_build_skbuild
- run
- test_python
test_python:
output: none
includes:
- cuda_version
- py_version
- test_python
- depends_on_librmm
- depends_on_rmm
test_pytorch:
output: none
includes:
- cuda_version
- py_version
- test_python
- depends_on_pytorch
- depends_on_librmm
- depends_on_rmm
test_cupy:
output: none
includes:
- cuda_version
- py_version
- test_python
- depends_on_cupy
- depends_on_librmm
- depends_on_rmm
test_wheels_cupy:
output: none
includes:
- depends_on_cupy
test_cpp:
output: none
includes:
- cuda_version
- test_cpp
- depends_on_librmm
- depends_on_librmm_tests
- depends_on_librmm_example
test_cmake:
output: none
includes:
- build
- cuda_static
- cuda_version
- depends_on_rapids_logger
checks:
output: none
includes:
- checks
- py_version
docs:
output: none
includes:
- cuda_version
- docs
- py_version
- depends_on_rmm
- depends_on_librmm
py_cpp_build:
output: pyproject
pyproject_dir: python/librmm
extras:
table: build-system
includes:
- rapids_build_skbuild
py_cpp_rapids_build:
output: pyproject
pyproject_dir: python/librmm
extras:
table: tool.rapids-build-backend
key: requires
includes:
- build
- depends_on_rapids_logger
py_cpp_run:
output: pyproject
pyproject_dir: python/librmm
extras:
table: project
includes:
- depends_on_rapids_logger
py_build:
output: pyproject
pyproject_dir: python/rmm
extras:
table: build-system
includes:
- rapids_build_skbuild
py_rapids_build:
output: pyproject
pyproject_dir: python/rmm
matrix:
cuda_suffixed: ["false"]
use_cuda_wheels: ["true"]
extras:
table: tool.rapids-build-backend
key: requires
includes:
- build
- cython_build
- depends_on_librmm
py_run:
output: pyproject
pyproject_dir: python/rmm
matrix:
cuda_suffixed: ["false"]
use_cuda_wheels: ["true"]
extras:
table: project
includes:
- run
- depends_on_librmm
py_optional_test:
output: pyproject
pyproject_dir: python/rmm
matrix:
cuda_suffixed: ["false"]
use_cuda_wheels: ["true"]
extras:
table: project.optional-dependencies
key: test
includes:
- test_python
torch_only:
output: none
includes:
- depends_on_pytorch
channels:
- rapidsai-nightly
- rapidsai
- conda-forge
dependencies:
rapids_build_skbuild:
common:
- output_types: [conda, requirements, constraints, pyproject]
packages:
- rapids-build-backend>=0.4.0,<0.5.0
- output_types: [conda, constraints]
packages:
- scikit-build-core>=0.11.0
- output_types: [requirements, pyproject]
packages:
- scikit-build-core[pyproject]>=0.11.0
build:
common:
- output_types: [conda, requirements, constraints, pyproject]
packages:
- &cmake_ver cmake>=4.0
- ninja
- output_types: conda
packages:
- c-compiler
- cxx-compiler
- cuda-nvcc
specific:
- output_types: conda
matrices:
- matrix:
arch: x86_64
packages:
- gcc_linux-64=14.*
- sysroot_linux-64==2.28
- matrix:
arch: aarch64
packages:
- gcc_linux-aarch64=14.*
- sysroot_linux-aarch64==2.28
cython_build:
common:
- output_types: [conda, requirements, constraints, pyproject]
packages:
- cython>=3.2.2
specific:
- output_types: [conda, requirements, constraints, pyproject]
matrices:
- matrix:
cuda: "12.*"
packages:
- &cuda_bindings12 cuda-bindings>=12.9.3,<13.0
- matrix: # All CUDA 13 versions
packages:
- &cuda_bindings13 cuda-bindings>=13.0.2,<14.0
depends_on_librmm:
common:
- output_types: conda
packages:
- &librmm_unsuffixed librmm==26.12.*,>=0.0.0a0
specific:
- output_types: [requirements, constraints, pyproject]
matrices:
- matrix:
cuda: "12.*"
cuda_suffixed: "true"
packages:
- librmm-cu12==26.12.*,>=0.0.0a0
- matrix:
cuda: "13.*"
cuda_suffixed: "true"
packages:
- librmm-cu13==26.12.*,>=0.0.0a0
- matrix:
cuda_suffixed: "false"
packages:
- *librmm_unsuffixed
depends_on_rmm:
common:
- output_types: conda
packages:
- rmm==26.12.*,>=0.0.0a0
depends_on_librmm_tests:
common:
- output_types: conda
packages:
- librmm-tests==26.12.*,>=0.0.0a0
depends_on_librmm_example:
common:
- output_types: conda
packages:
- librmm-example==26.12.*,>=0.0.0a0
checks:
common:
- output_types: [conda, requirements, constraints]
packages:
- pre-commit
# pre-commit requires identify minimum version 1.0, but clang-format
# requires textproto support and that was added in 2.5.20, so we need
# to call out the minimum version needed for our plugins
- identify>=2.5.20
- output_types: conda
packages:
- &doxygen doxygen=1.18.0
cuda_static:
common:
- output_types: conda
packages:
- cuda-cudart-static
# 'cuda_version' intentionally does not contain fallback entries... we want
# a loud error if an unsupported 'cuda' value is passed
cuda_version:
specific:
- output_types: conda
matrices:
- matrix:
cuda: "12.2"
packages:
- cuda-version=12.2
- matrix:
cuda: "12.5"
packages:
- cuda-version=12.5
- matrix:
cuda: "12.8"
packages:
- cuda-version=12.8
- matrix:
cuda: "12.9"
packages:
- cuda-version=12.9
- matrix:
cuda: "13.0"
packages:
- cuda-version=13.0
- matrix:
cuda: "13.1"
packages:
- cuda-version=13.1
- matrix:
cuda: "13.2"
packages:
- cuda-version=13.2
- matrix:
cuda: "13.3"
packages:
- cuda-version=13.3
- matrix:
cuda: "13.4"
packages:
- cuda-version=13.4
- output_types: [requirements, constraints]
matrices:
# if use_cuda_wheels=false is provided, do not add dependencies on any CUDA wheels
# (e.g. for DLFW and pip devcontainers)
- matrix:
use_cuda_wheels: "false"
packages:
- matrix:
arch: aarch64
cuda: "12.2"
use_cuda_wheels: "true"
packages:
# some components (like nvidia-cublas-cu12 and nvidia-cuda-nvcc-cu12) didn't have
# aarch64 wheels until CTK 12.3, so allow a slightly looser bound here
- cuda-toolkit>=12.2,<12.4
- matrix:
cuda: "12.2"
use_cuda_wheels: "true"
packages:
- cuda-toolkit==12.2.*
- matrix:
cuda: "12.5"
use_cuda_wheels: "true"
packages:
- cuda-toolkit==12.5.*
- matrix:
cuda: "12.8"
use_cuda_wheels: "true"
packages:
- cuda-toolkit==12.8.*
- matrix:
cuda: "12.9"
use_cuda_wheels: "true"
packages:
- cuda-toolkit==12.9.*
- matrix:
cuda: "13.0"
use_cuda_wheels: "true"
packages:
- cuda-toolkit==13.0.*
- matrix:
cuda: "13.1"
use_cuda_wheels: "true"
packages:
- cuda-toolkit==13.1.*
- matrix:
cuda: "13.2"
use_cuda_wheels: "true"
packages:
- cuda-toolkit==13.2.*
- matrix:
cuda: "13.3"
use_cuda_wheels: "true"
packages:
- cuda-toolkit==13.3.*
- matrix:
cuda: "13.4"
use_cuda_wheels: "true"
packages:
- cuda-toolkit==13.4.*
develop:
common:
- output_types: conda
packages:
- clang==20.1.8
- clang-tools==20.1.8
- gcovr>=5.0
docs:
common:
- output_types: conda
packages:
- breathe>=4.35.0
- *doxygen
- ipython
- make
- myst-parser
- nbsphinx
- &numba numba>=0.60.0,<0.65.0
- &numba_cuda numba-cuda>=0.30.2
- numpydoc
- sphinx
- sphinx-copybutton
- sphinx-markdown-tables
- sphinxcontrib-jquery
- pip:
- nvidia-sphinx-theme
py_version:
specific:
- output_types: conda
matrices:
- matrix:
py: "3.12"
packages:
- python=3.12
- matrix:
py: "3.13"
packages:
- python=3.13
- matrix:
py: "3.14"
packages:
- python=3.14
- matrix:
packages:
- python>=3.12
run:
common:
- output_types: [conda, requirements, constraints, pyproject]
packages:
- numpy>=2.0,<3.0
specific:
- output_types: [conda, requirements, constraints, pyproject]
matrices:
- matrix:
cuda: "12.*"
packages:
- *cuda_bindings12
- matrix: # All CUDA 13 versions
packages:
- *cuda_bindings13
test_cpp:
common:
- output_types: conda
packages:
- *cmake_ver
test_python:
common:
- output_types: [conda, requirements, constraints, pyproject]
packages:
- cuda-core>=1.0,<2
- packaging
- pytest
- pytest-cov
specific:
- output_types: [conda, requirements, constraints, pyproject]
matrices:
- matrix:
dependencies: "oldest"
cuda: "12.*"
packages:
# Older bindings segfault when cuda-core releases contexts at shutdown.
- cuda-bindings==12.9.3
- matrix:
dependencies: "oldest"
cuda: "13.*"
packages:
# Older bindings segfault when cuda-core releases contexts at shutdown.
- cuda-bindings==13.0.2
- matrix:
packages:
- output_types: [conda, requirements, constraints, pyproject]
matrices:
- matrix:
dependencies: "oldest"
packages:
# cuda-core 1.0.0 cannot import with the oldest CUDA 13 bindings.
- cuda-core==1.0.1
- numba==0.60.0
- numpy==2.0.*
- matrix:
packages:
- *numba
- output_types: [conda]
matrices:
- matrix:
dependencies: "oldest"
packages:
# Earlier numba-cuda releases require cuda-core<1.0.0.
- &numba_cuda_oldest numba-cuda==0.30.2
- matrix:
packages:
- *numba_cuda
- output_types: constraints
matrices:
- matrix:
dependencies: "oldest"
packages:
# Constraint must not have extras
- *numba_cuda_oldest
- matrix:
packages:
- *numba_cuda
- output_types: [requirements, pyproject]
matrices:
- matrix:
cuda: "12.*"
cuda_suffixed: "true"
packages:
- numba-cuda[cu12]>=0.30.2
- matrix:
cuda: "13.*"
cuda_suffixed: "true"
packages:
- numba-cuda[cu13]>=0.30.2
# fallback to numba-cuda with no extra CUDA packages if 'cuda_suffixed' isn't true
- matrix:
packages:
- *numba_cuda
depends_on_rapids_logger:
common:
- output_types: [conda, requirements, constraints, pyproject]
packages:
- rapids-logger==0.3.*
depends_on_pytorch:
specific:
- output_types: conda
matrices:
- matrix:
require_gpu: "true"
packages:
- pytorch-gpu>=2.9
- matrix:
packages:
- pytorch>=2.9
# The 'pytorch.org' indices referenced in --extra-index-url below host CPU-only variants too,
# so requirements like '>=' are not safe.
#
# Using '==' and a version with the CUDA specifier like '+cu130' is the most reliable way to ensure
# the packages we want are pulled (at the expense of needing to maintain this list).
#
# 'torch' tightly pins wheels to a single {major}.{minor} CTK version.
#
# This list only contains entries exactly matching CUDA {major}.{minor} that we test in RMM CI,
# to ensure a loud error alerts us to the need to update this list (or CI scripts) when new
# CTKs are added to the support matrix.
- output_types: [requirements, constraints]
matrices:
# avoid pulling in 'torch' in places like DLFW builds that prefer to install it other ways
- matrix:
no_pytorch: "true"
packages:
# matrices below ensure CUDA 'torch' packages are used
- matrix:
cuda: "12.9"
dependencies: "oldest"
require_gpu: "true"
packages:
- &torch_cu129_index --extra-index-url=https://download.pytorch.org/whl/cu129
- torch==2.9.0+cu129
- matrix:
cuda: "12.9"
require_gpu: "true"
packages:
- *torch_cu129_index
- torch==2.13.0+cu129
- matrix:
cuda: "13.0"
dependencies: "oldest"
require_gpu: "true"
packages:
- &torch_cu130_index --extra-index-url=https://download.pytorch.org/whl/cu130
- torch==2.9.0+cu130
- matrix:
cuda: "13.0"
require_gpu: "true"
packages:
- *torch_cu130_index
- torch==2.14.0+cu130
- matrix:
cuda: "13.1"
require_gpu: "true"
packages:
- *torch_cu130_index
- torch==2.13.0+cu130
- matrix:
cuda: "13.*"
require_gpu: "true"
packages:
- --extra-index-url=https://download.pytorch.org/whl/cu132
- torch==2.14.0+cu132
- matrix:
require_gpu: "false"
packages:
- torch>=2.9
depends_on_cupy:
common:
- output_types: conda
packages:
- cupy>=14.0.1,!=14.1.0
specific:
- output_types: constraints
matrices:
- matrix:
cuda: "12.*"
packages:
- &cupy_cu12 cupy-cuda12x>=14.0.1,!=14.1.0
- matrix:
packages:
- &cupy_cu13 cupy-cuda13x>=14.0.1,!=14.1.0
- output_types: [requirements, pyproject]
matrices:
- matrix:
cuda: "12.*"
use_cuda_wheels: "false"
packages:
- *cupy_cu12
- matrix:
cuda: "13.*"
use_cuda_wheels: "false"
packages:
- *cupy_cu13
- matrix:
cuda: "12.*"
use_cuda_wheels: "true"
packages:
- cupy-cuda12x[ctk]>=14.0.1,!=14.1.0
# fallback to CUDA 13 versions if 'cuda' is '13.*' or not provided
- matrix:
use_cuda_wheels: "true"
packages:
- cupy-cuda13x[ctk]>=14.0.1,!=14.1.0