forked from rapidsai/cuml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dependencies.yaml
540 lines (539 loc) · 15.6 KB
/
dependencies.yaml
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
# Dependency list for https://github.com/rapidsai/dependency-file-generator
files:
all:
output: conda
matrix:
cuda: ["11.8", "12.5"]
arch: [x86_64]
includes:
- common_build
- cuda
- cuda_version
- docs
- py_build
- py_run
- py_version
- rapids_build_backend
- test_python
cpp_all:
output: conda
matrix:
cuda: ["11.8", "12.5"]
arch: [x86_64]
includes:
- common_build
- cuda
- cuda_version
checks:
output: none
includes:
- checks
- py_version
clang_tidy:
output: conda
matrix:
cuda: ["11.8"]
arch: [x86_64]
includes:
- clang_tidy
- common_build
- cuda
- cuda_version
docs:
output: none
includes:
- cuda_version
- docs
- py_version
test_cpp:
output: none
includes:
- cuda_version
- test_libcuml
- test_cpp
test_python:
output: none
includes:
- cuda_version
- py_version
- test_cuml
- test_python
test_notebooks:
output: none
includes:
- cuda_version
- py_run
- py_version
- test_cuml
- test_notebooks
py_build:
output: pyproject
pyproject_dir: python/cuml
extras:
table: build-system
includes:
- rapids_build_backend
py_rapids_build:
output: pyproject
pyproject_dir: python/cuml
extras:
table: tool.rapids-build-backend
key: requires
includes:
- common_build
- py_build
py_run:
output: pyproject
pyproject_dir: python/cuml
extras:
table: project
includes:
- cuda_wheels
- py_run
py_test:
output: pyproject
pyproject_dir: python/cuml
extras:
table: project.optional-dependencies
key: test
includes:
- test_python
channels:
- rapidsai
- rapidsai-nightly
- dask/label/dev
- conda-forge
- nvidia
dependencies:
rapids_build_backend:
common:
- output_types: [conda, requirements, pyproject]
packages:
- rapids-build-backend>=0.3.0,<0.4.0.dev0
- output_types: [conda]
packages:
- scikit-build-core>=0.10.0
- output_types: [requirements, pyproject]
packages:
- scikit-build-core[pyproject]>=0.10.0
checks:
common:
- output_types: [conda, requirements]
packages:
- pre-commit
clang_tidy:
common:
- output_types: [conda, requirements]
packages:
# clang 15 required by libcudacxx.
- clang==15.0.7
- clang-tools==15.0.7
- ninja
- tomli
common_build:
common:
- output_types: [conda, requirements, pyproject]
packages:
- &cmake_ver cmake>=3.26.4,!=3.30.0
- ninja
- output_types: conda
packages:
- c-compiler
- cxx-compiler
- fmt>=11.0.2,<12
- libcumlprims==24.12.*,>=0.0.0a0
- libcuvs==24.12.*,>=0.0.0a0
- libraft-headers==24.12.*,>=0.0.0a0
- librmm==24.12.*,>=0.0.0a0
- spdlog>=1.14.1,<1.15
specific:
- output_types: conda
matrices:
- matrix:
arch: x86_64
packages:
- gcc_linux-64=11.*
- sysroot_linux-64==2.17
- matrix:
arch: aarch64
packages:
- gcc_linux-aarch64=11.*
- sysroot_linux-aarch64==2.17
- output_types: conda
matrices:
- matrix:
arch: x86_64
cuda: "11.8"
packages:
- nvcc_linux-64=11.8
- matrix:
arch: aarch64
cuda: "11.8"
packages:
- nvcc_linux-aarch64=11.8
- matrix:
cuda: "12.*"
packages:
- cuda-nvcc
py_build:
common:
- output_types: [conda, requirements, pyproject]
packages:
- &cython cython>=3.0.0
- &treelite treelite==4.3.0
- output_types: conda
packages:
- &cuvs_unsuffixed cuvs==24.12.*,>=0.0.0a0
- &pylibraft_unsuffixed pylibraft==24.12.*,>=0.0.0a0
- &rmm_unsuffixed rmm==24.12.*,>=0.0.0a0
- output_types: requirements
packages:
# pip recognizes the index as a global option for the requirements.txt file
# This index is needed for cudf and rmm.
- --extra-index-url=https://pypi.nvidia.com
- --extra-index-url=https://pypi.anaconda.org/rapidsai-wheels-nightly/simple
specific:
- output_types: [conda, requirements, pyproject]
matrices:
- matrix:
cuda: "12.*"
packages:
- cuda-python>=12.0,<13.0a0
- matrix:
cuda: "11.*"
packages:
- cuda-python>=11.7.1,<12.0a0
- matrix:
packages:
- cuda-python
- output_types: [requirements, pyproject]
matrices:
- matrix:
cuda: "12.*"
cuda_suffixed: "true"
packages:
- cuvs-cu12==24.12.*,>=0.0.0a0
- pylibraft-cu12==24.12.*,>=0.0.0a0
- rmm-cu12==24.12.*,>=0.0.0a0
- matrix:
cuda: "11.*"
cuda_suffixed: "true"
packages:
- cuvs-cu11==24.12.*,>=0.0.0a0
- pylibraft-cu11==24.12.*,>=0.0.0a0
- rmm-cu11==24.12.*,>=0.0.0a0
- matrix:
packages:
- *cuvs_unsuffixed
- *pylibraft_unsuffixed
- *rmm_unsuffixed
py_run:
common:
- output_types: [conda, requirements, pyproject]
packages:
- dask-cuda==24.12.*,>=0.0.0a0
- joblib>=0.11
- numba>=0.57
- numpy>=1.23,<3.0a0
# TODO: Is scipy really a hard dependency, or should
# we make it optional (i.e. an extra for pip
# installation/run_constrained for conda)?
- scipy>=1.8.0
- packaging
- rapids-dask-dependency==24.12.*,>=0.0.0a0
- *treelite
- output_types: conda
packages:
- &cudf_unsuffixed cudf==24.12.*,>=0.0.0a0
- &cupy_unsuffixed cupy>=12.0.0
- &dask_cudf_unsuffixed dask-cudf==24.12.*,>=0.0.0a0
- &raft_dask_unsuffixed raft-dask==24.12.*,>=0.0.0a0
- output_types: requirements
packages:
# pip recognizes the index as a global option for the requirements.txt file
# This index is needed for cudf and rmm.
- --extra-index-url=https://pypi.nvidia.com
- --extra-index-url=https://pypi.anaconda.org/rapidsai-wheels-nightly/simple
specific:
- output_types: [requirements, pyproject]
matrices:
- matrix:
cuda: "12.*"
cuda_suffixed: "true"
packages:
- cudf-cu12==24.12.*,>=0.0.0a0
- &cupy_pyproject_cu12 cupy-cuda12x>=12.0.0
- cuvs-cu12==24.12.*,>=0.0.0a0
- dask-cudf-cu12==24.12.*,>=0.0.0a0
- pylibraft-cu12==24.12.*,>=0.0.0a0
- raft-dask-cu12==24.12.*,>=0.0.0a0
- rmm-cu12==24.12.*,>=0.0.0a0
- matrix:
cuda: "12.*"
cuda_suffixed: "false"
packages:
- *cudf_unsuffixed
# NOTE: cupy still has a "-cuda12x" suffix here, because it's suffixed
# in DLFW builds
- *cupy_pyproject_cu12
- *cuvs_unsuffixed
- *dask_cudf_unsuffixed
- *pylibraft_unsuffixed
- *raft_dask_unsuffixed
- *rmm_unsuffixed
- matrix:
cuda: "11.*"
cuda_suffixed: "true"
packages: &py_run_packages_cu11
- cudf-cu11==24.12.*,>=0.0.0a0
- &cupy_pyproject_cu11 cupy-cuda11x>=12.0.0
- cuvs-cu11==24.12.*,>=0.0.0a0
- dask-cudf-cu11==24.12.*,>=0.0.0a0
- pylibraft-cu11==24.12.*,>=0.0.0a0
- raft-dask-cu11==24.12.*,>=0.0.0a0
- rmm-cu11==24.12.*,>=0.0.0a0
- matrix:
cuda: "11.*"
cuda_suffixed: "false"
packages:
- *cudf_unsuffixed
# NOTE: cupy still has a "-cuda11x" suffix here, because it's suffixed
# in DLFW builds
- *cupy_pyproject_cu11
- *cuvs_unsuffixed
- *dask_cudf_unsuffixed
- *pylibraft_unsuffixed
- *raft_dask_unsuffixed
- *rmm_unsuffixed
- matrix:
packages:
- *cudf_unsuffixed
- *cupy_pyproject_cu11
- *cuvs_unsuffixed
- *dask_cudf_unsuffixed
- *pylibraft_unsuffixed
- *raft_dask_unsuffixed
- *rmm_unsuffixed
cuda_version:
specific:
- output_types: conda
matrices:
- matrix:
cuda: "11.2"
packages:
- cuda-version=11.2
- matrix:
cuda: "11.4"
packages:
- cuda-version=11.4
- matrix:
cuda: "11.5"
packages:
- cuda-version=11.5
- matrix:
cuda: "11.8"
packages:
- cuda-version=11.8
- matrix:
cuda: "12.0"
packages:
- cuda-version=12.0
- matrix:
cuda: "12.2"
packages:
- cuda-version=12.2
- matrix:
cuda: "12.5"
packages:
- cuda-version=12.5
cuda:
specific:
- output_types: conda
matrices:
- matrix:
cuda: "12.*"
packages:
- cuda-cudart-dev
- cuda-profiler-api
- libcublas-dev
- libcufft-dev
- libcurand-dev
- libcusolver-dev
- libcusparse-dev
- matrix:
cuda: "11.8"
packages:
- cudatoolkit
- libcublas-dev=11.11.3.6
- libcublas=11.11.3.6
- libcufft-dev=10.9.0.58
- libcufft=10.9.0.58
- libcurand-dev=10.3.0.86
- libcurand=10.3.0.86
- libcusolver-dev=11.4.1.48
- libcusolver=11.4.1.48
- libcusparse-dev=11.7.5.86
- libcusparse=11.7.5.86
- matrix:
cuda: "11.5"
packages:
- cudatoolkit
- libcublas-dev>=11.7.3.1,<=11.7.4.6
- libcublas>=11.7.3.1,<=11.7.4.6
- libcufft-dev>=10.6.0.54,<=10.6.0.107
- libcufft>=10.6.0.54,<=10.6.0.107
- libcurand-dev>=10.2.6.48,<=10.2.7.107
- libcurand>=10.2.6.48,<=10.2.7.107
- libcusolver-dev>=11.2.1.48,<=11.3.2.107
- libcusolver>=11.2.1.48,<=11.3.2.107
- libcusparse-dev>=11.7.0.31,<=11.7.0.107
- libcusparse>=11.7.0.31,<=11.7.0.107
- matrix:
cuda: "11.4"
packages:
- cudatoolkit
- &libcublas_dev114 libcublas-dev>=11.5.2.43,<=11.6.5.2
- &libcublas114 libcublas>=11.5.2.43,<=11.6.5.2
- &libcufft_dev114 libcufft-dev>=10.5.0.43,<=10.5.2.100
- &libcufft114 libcufft>=10.5.0.43,<=10.5.2.100
- &libcurand_dev114 libcurand-dev>=10.2.5.43,<=10.2.5.120
- &libcurand114 libcurand>=10.2.5.43,<=10.2.5.120
- &libcusolver_dev114 libcusolver-dev>=11.2.0.43,<=11.2.0.120
- &libcusolver114 libcusolver>=11.2.0.43,<=11.2.0.120
- &libcusparse_dev114 libcusparse-dev>=11.6.0.43,<=11.6.0.120
- &libcusparse114 libcusparse>=11.6.0.43,<=11.6.0.120
- matrix:
cuda: "11.2"
packages:
- cudatoolkit
# The NVIDIA channel doesn't publish pkgs older than 11.4 for these libs,
# so 11.2 uses 11.4 packages (the oldest available).
- *libcublas_dev114
- *libcublas114
- *libcufft_dev114
- *libcufft114
- *libcurand_dev114
- *libcurand114
- *libcusolver_dev114
- *libcusolver114
- *libcusparse_dev114
- *libcusparse114
cuda_wheels:
specific:
- output_types: pyproject
matrices:
- matrix:
cuda: "12.*"
use_cuda_wheels: "true"
packages:
- nvidia-cublas-cu12
- nvidia-cufft-cu12
- nvidia-curand-cu12
- nvidia-cusparse-cu12
- nvidia-cusolver-cu12
# CUDA 11 does not provide wheels, so use the system libraries instead
- matrix:
cuda: "11.*"
use_cuda_wheels: "true"
packages:
# 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:
# if no matching matrix selectors passed, list the unsuffixed packages
# (just as a source of documentation, as this populates pyproject.toml in source control)
- matrix:
packages:
- nvidia-cublas
- nvidia-cufft
- nvidia-curand
- nvidia-cusparse
- nvidia-cusolver
docs:
common:
- output_types: [conda, requirements]
packages:
- graphviz
- ipython
- ipykernel
- nbsphinx
- numpydoc
# https://github.com/pydata/pydata-sphinx-theme/issues/1539
- pydata-sphinx-theme!=0.14.2
- recommonmark
- &scikit_learn scikit-learn==1.5
- sphinx<6
- sphinx-copybutton
- sphinx-markdown-tables
- output_types: conda
packages:
- doxygen=1.9.1
py_version:
specific:
- output_types: conda
matrices:
- matrix:
py: "3.10"
packages:
- python=3.10
- matrix:
py: "3.11"
packages:
- python=3.11
- matrix:
py: "3.12"
packages:
- python=3.12
- matrix:
packages:
- python>=3.10,<3.13
test_libcuml:
common:
- output_types: conda
packages:
- libcuml==24.12.*,>=0.0.0a0
- libcuml-tests==24.12.*,>=0.0.0a0
test_cuml:
common:
- output_types: conda
packages:
- libcuml==24.12.*,>=0.0.0a0
- cuml==24.12.*,>=0.0.0a0
test_cpp:
common:
- output_types: conda
packages:
- *cmake_ver
test_python:
common:
- output_types: [conda, requirements, pyproject]
packages:
- *cython
- dask-ml
- hdbscan>=0.8.39,<0.8.40
- hypothesis>=6.0,<7
- nltk
- numpydoc
- pytest==7.*
- pytest-benchmark
- pytest-cases
- pytest-cov
- pytest-xdist
- seaborn
- *scikit_learn
- statsmodels
- umap-learn==0.5.6
- pynndescent
test_notebooks:
common:
- output_types: [conda, requirements]
packages:
- dask-ml==2023.3.24
- jupyter
- matplotlib
- numpy
- pandas
- *scikit_learn
- seaborn
- xgboost