forked from rapidsai/raft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dependencies.yaml
490 lines (484 loc) · 15.8 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
# Dependency list for https://github.com/rapidsai/dependency-file-generator
files:
all:
output: conda
matrix:
cuda: ["11.8", "12.0"]
arch: [x86_64, aarch64]
includes:
- build
- build_pylibraft
- cudatoolkit
- develop
- checks
- build_wheels
- test_libraft
- docs
- run_raft_dask
- run_pylibraft
- test_python_common
- test_pylibraft
- cupy
bench_ann:
output: conda
matrix:
cuda: ["11.8", "12.0"]
arch: [x86_64, aarch64]
includes:
- build
- develop
- cudatoolkit
- nn_bench
- nn_bench_python
test_cpp:
output: none
includes:
- cudatoolkit
- test_libraft
test_python:
output: none
includes:
- cudatoolkit
- py_version
- test_python_common
- test_pylibraft
- cupy
checks:
output: none
includes:
- checks
- py_version
docs:
output: none
includes:
- test_pylibraft
- cupy
- cudatoolkit
- docs
- py_version
py_build_pylibraft:
output: pyproject
pyproject_dir: python/pylibraft
extras:
table: build-system
includes:
- build
- build_pylibraft
py_run_pylibraft:
output: pyproject
pyproject_dir: python/pylibraft
extras:
table: project
includes:
- run_pylibraft
py_test_pylibraft:
output: pyproject
pyproject_dir: python/pylibraft
extras:
table: project.optional-dependencies
key: test
includes:
- test_python_common
- test_pylibraft
- cupy
py_build_raft_dask:
output: pyproject
pyproject_dir: python/raft-dask
extras:
table: build-system
includes:
- build
py_run_raft_dask:
output: pyproject
pyproject_dir: python/raft-dask
extras:
table: project
includes:
- run_raft_dask
py_test_raft_dask:
output: pyproject
pyproject_dir: python/raft-dask
extras:
table: project.optional-dependencies
key: test
includes:
- test_python_common
py_build_raft_ann_bench:
output: pyproject
pyproject_dir: python/raft-ann-bench
extras:
table: build-system
includes:
- build_wheels
py_run_raft_ann_bench:
output: pyproject
pyproject_dir: python/raft-ann-bench
extras:
table: project
includes:
- nn_bench_python
channels:
- rapidsai
- rapidsai-nightly
- dask/label/dev
- conda-forge
- nvidia
dependencies:
build:
common:
- output_types: [conda, requirements, pyproject]
packages:
- &cmake_ver cmake>=3.26.4
- cython>=3.0.0
- ninja
- output_types: [conda]
packages:
- c-compiler
- cxx-compiler
- nccl>=2.9.9
- scikit-build-core>=0.7.0
- output_types: [requirements, pyproject]
packages:
- scikit-build-core[pyproject]>=0.7.0
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: {cuda: "12.0"}
packages: [cuda-version=12.0, cuda-nvcc]
- matrix: {cuda: "11.8", arch: x86_64}
packages: [nvcc_linux-64=11.8]
- matrix: {cuda: "11.8", arch: aarch64}
packages: [nvcc_linux-aarch64=11.8]
- matrix: {cuda: "11.5", arch: x86_64}
packages: [nvcc_linux-64=11.5]
- matrix: {cuda: "11.5", arch: aarch64}
packages: [nvcc_linux-aarch64=11.5]
- matrix: {cuda: "11.4", arch: x86_64}
packages: [nvcc_linux-64=11.4]
- matrix: {cuda: "11.4", arch: aarch64}
packages: [nvcc_linux-aarch64=11.4]
- matrix: {cuda: "11.2", arch: x86_64}
packages: [nvcc_linux-64=11.2]
- matrix: {cuda: "11.2", arch: aarch64}
packages: [nvcc_linux-aarch64=11.2]
build_pylibraft:
common:
- output_types: [conda]
packages:
- &rmm_conda rmm==24.2.*
- output_types: requirements
packages:
# pip recognizes the index as a global option for the requirements.txt file
# This index is needed for rmm-cu{11,12}.
- --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.0"
packages:
- &cuda_python12 cuda-python>=12.0,<13.0a0
- matrix: # All CUDA 11 versions
packages:
- &cuda_python11 cuda-python>=11.7.1,<12.0a0
- output_types: [requirements, pyproject]
matrices:
- matrix: {cuda: "12.2"}
packages: &build_pylibraft_packages_cu12
- &rmm_cu12 rmm-cu12==24.2.*
- {matrix: {cuda: "12.1"}, packages: *build_pylibraft_packages_cu12}
- {matrix: {cuda: "12.0"}, packages: *build_pylibraft_packages_cu12}
- matrix: {cuda: "11.8"}
packages: &build_pylibraft_packages_cu11
- &rmm_cu11 rmm-cu11==24.2.*
- {matrix: {cuda: "11.5"}, packages: *build_pylibraft_packages_cu11}
- {matrix: {cuda: "11.4"}, packages: *build_pylibraft_packages_cu11}
- {matrix: {cuda: "11.2"}, packages: *build_pylibraft_packages_cu11}
- {matrix: null, packages: [*rmm_conda] }
checks:
common:
- output_types: [conda, requirements]
packages:
- pre-commit
develop:
common:
- output_types: conda
packages:
- clang==16.0.6
- clang-tools=16.0.6
nn_bench:
common:
- output_types: [conda, pyproject, requirements]
packages:
- hnswlib=0.7.0
- nlohmann_json>=3.11.2
- glog>=0.6.0
- h5py>=3.8.0
- benchmark>=1.8.2
- openblas
- *rmm_conda
nn_bench_python:
common:
- output_types: [conda]
packages:
- matplotlib
- pandas
- pyyaml
- pandas
cudatoolkit:
specific:
- output_types: conda
matrices:
- matrix:
cuda: "12.0"
packages:
- cuda-version=12.0
- cuda-nvtx-dev
- cuda-cudart-dev
- cuda-profiler-api
- libcublas-dev
- libcurand-dev
- libcusolver-dev
- libcusparse-dev
- matrix:
cuda: "11.8"
packages:
- cuda-version=11.8
- cudatoolkit
- cuda-nvtx=11.8
- cuda-profiler-api=11.8.86
- libcublas-dev=11.11.3.6
- libcublas=11.11.3.6
- 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:
- cuda-version=11.5
- cudatoolkit
- cuda-nvtx=11.5
- cuda-profiler-api>=11.4.240,<=11.8.86 # use any `11.x` version since pkg is missing several CUDA/arch packages
- libcublas-dev>=11.7.3.1,<=11.7.4.6
- libcublas>=11.7.3.1,<=11.7.4.6
- 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:
- cuda-version=11.4
- cudatoolkit
- &cudanvtx114 cuda-nvtx=11.4
- cuda-profiler-api>=11.4.240,<=11.8.86 # use any `11.x` version since pkg is missing several CUDA/arch packages
- &libcublas_dev114 libcublas-dev>=11.5.2.43,<=11.6.5.2
- &libcublas114 libcublas>=11.5.2.43,<=11.6.5.2
- &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:
- cuda-version=11.2
- cudatoolkit
- *cudanvtx114
- cuda-profiler-api>=11.4.240,<=11.8.86 # use any `11.x` version since pkg is missing several CUDA/arch packages
# 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
- *libcurand_dev114
- *libcurand114
- *libcusolver_dev114
- *libcusolver114
- *libcusparse_dev114
- *libcusparse114
cupy:
common:
- output_types: conda
packages:
- cupy>=12.0.0
specific:
- output_types: [requirements, pyproject]
matrices:
# All CUDA 12 + x86_64 versions
- matrix: {cuda: "12.2", arch: x86_64}
packages: &cupy_packages_cu12_x86_64
- &cupy_cu12_x86_64 cupy-cuda12x>=12.0.0
- {matrix: {cuda: "12.1", arch: x86_64}, packages: *cupy_packages_cu12_x86_64}
- {matrix: {cuda: "12.0", arch: x86_64}, packages: *cupy_packages_cu12_x86_64}
# All CUDA 12 + aarch64 versions
- matrix: {cuda: "12.2", arch: aarch64}
packages: &cupy_packages_cu12_aarch64
- &cupy_cu12_aarch64 cupy-cuda12x -f https://pip.cupy.dev/aarch64 # TODO: Verify that this works.
- {matrix: {cuda: "12.1", arch: aarch64}, packages: *cupy_packages_cu12_aarch64}
- {matrix: {cuda: "12.0", arch: aarch64}, packages: *cupy_packages_cu12_aarch64}
# All CUDA 11 + x86_64 versions
- matrix: {cuda: "11.8", arch: x86_64}
packages: &cupy_packages_cu11_x86_64
- cupy-cuda11x>=12.0.0
- {matrix: {cuda: "11.5", arch: x86_64}, packages: *cupy_packages_cu11_x86_64}
- {matrix: {cuda: "11.4", arch: x86_64}, packages: *cupy_packages_cu11_x86_64}
- {matrix: {cuda: "11.2", arch: x86_64}, packages: *cupy_packages_cu11_x86_64}
# All CUDA 11 + aarch64 versions
- matrix: {cuda: "11.8", arch: aarch64}
packages: &cupy_packages_cu11_aarch64
- cupy-cuda11x -f https://pip.cupy.dev/aarch64 # TODO: Verify that this works.
- {matrix: {cuda: "11.5", arch: aarch64}, packages: *cupy_packages_cu11_aarch64}
- {matrix: {cuda: "11.4", arch: aarch64}, packages: *cupy_packages_cu11_aarch64}
- {matrix: {cuda: "11.2", arch: aarch64}, packages: *cupy_packages_cu11_aarch64}
- {matrix: null, packages: [cupy-cuda11x>=12.0.0]}
test_libraft:
common:
- output_types: [conda]
packages:
- *cmake_ver
- gtest>=1.13.0
- gmock>=1.13.0
docs:
common:
- output_types: [conda]
packages:
- breathe
- doxygen>=1.8.20
- graphviz
- ipython
- numpydoc
- pydata-sphinx-theme
- recommonmark
- sphinx-copybutton
- sphinx-markdown-tables
build_wheels:
common:
- output_types: [requirements, pyproject]
packages:
- wheel
- setuptools
py_version:
specific:
- output_types: conda
matrices:
- matrix:
py: "3.9"
packages:
- python=3.9
- matrix:
py: "3.10"
packages:
- python=3.10
- matrix:
packages:
- python>=3.9,<3.11
run_pylibraft:
common:
- output_types: [conda, pyproject]
packages:
- &numpy numpy>=1.21
- output_types: [conda]
packages:
- *rmm_conda
- 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.0"
packages:
- *cuda_python12
- matrix: # All CUDA 11 versions
packages:
- *cuda_python11
- output_types: [requirements, pyproject]
matrices:
- matrix: {cuda: "12.2"}
packages: &run_pylibraft_packages_cu12
- *rmm_cu12
- {matrix: {cuda: "12.1"}, packages: *run_pylibraft_packages_cu12}
- {matrix: {cuda: "12.0"}, packages: *run_pylibraft_packages_cu12}
- matrix: {cuda: "11.8"}
packages: &run_pylibraft_packages_cu11
- *rmm_cu11
- {matrix: {cuda: "11.5"}, packages: *run_pylibraft_packages_cu11}
- {matrix: {cuda: "11.4"}, packages: *run_pylibraft_packages_cu11}
- {matrix: {cuda: "11.2"}, packages: *run_pylibraft_packages_cu11}
- {matrix: null, packages: [*rmm_conda]}
run_raft_dask:
common:
- output_types: [conda, pyproject]
packages:
- dask-cuda==24.2.*
- joblib>=0.11
- numba>=0.57
- *numpy
- rapids-dask-dependency==24.2.*
- ucx-py==0.36.*
- output_types: conda
packages:
- ucx>=1.13.0
- ucx-proc=*=gpu
- &ucx_py_conda ucx-py==0.36.*
- output_types: pyproject
packages:
- &pylibraft_conda pylibraft==24.2.*
- 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.2"}
packages: &run_raft_dask_packages_cu12
- &pylibraft_cu12 pylibraft-cu12==24.2.*
- &ucx_py_cu12 ucx-py-cu12==0.36.*
- {matrix: {cuda: "12.1"}, packages: *run_raft_dask_packages_cu12}
- {matrix: {cuda: "12.0"}, packages: *run_raft_dask_packages_cu12}
- matrix: {cuda: "11.8"}
packages: &run_raft_dask_packages_cu11
- &pylibraft_cu11 pylibraft-cu11==24.2.*
- &ucx_py_cu11 ucx-py-cu11==0.36.*
- {matrix: {cuda: "11.5"}, packages: *run_raft_dask_packages_cu11}
- {matrix: {cuda: "11.4"}, packages: *run_raft_dask_packages_cu11}
- {matrix: {cuda: "11.2"}, packages: *run_raft_dask_packages_cu11}
- {matrix: null, packages: [*pylibraft_conda, *ucx_py_conda]}
test_python_common:
common:
- output_types: [conda, requirements, pyproject]
packages:
- pytest
- pytest-cov
test_pylibraft:
common:
- output_types: [conda, requirements, pyproject]
packages:
- scikit-learn
- scipy