forked from rapidsai/cuvs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dependencies.yaml
377 lines (372 loc) · 12.2 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
# 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_cuvs
- cudatoolkit
- develop
- checks
- build_wheels
- test_libcuvs
- docs
- run_cuvs
- test_python_common
- test_cuvs
- cupy
test_cpp:
output: none
includes:
- cudatoolkit
- test_libcuvs
test_python:
output: none
includes:
- cudatoolkit
- py_version
- test_python_common
- test_cuvs
- cupy
checks:
output: none
includes:
- checks
- py_version
docs:
output: none
includes:
- test_cuvs
- cupy
- cudatoolkit
- docs
- py_version
py_build_cuvs:
output: pyproject
pyproject_dir: python/cuvs
extras:
table: build-system
includes:
- build
- build_cuvs
- build_wheels
py_run_cuvs:
output: pyproject
pyproject_dir: python/cuvs
extras:
table: project
includes:
- run_cuvs
py_test_cuvs:
output: pyproject
pyproject_dir: python/cuvs
extras:
table: project.optional-dependencies
key: test
includes:
- test_python_common
- test_cuvs
- cupy
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
- scikit-build>=0.13.1
- output_types: [conda]
packages:
- c-compiler
- cxx-compiler
- nccl>=2.9.9
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_cuvs:
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
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_cuvs_packages_cu12
- &rmm_cu12 rmm-cu12==24.2.*
- {matrix: {cuda: "12.1"}, packages: *build_cuvs_packages_cu12}
- {matrix: {cuda: "12.0"}, packages: *build_cuvs_packages_cu12}
- matrix: {cuda: "11.8"}
packages: &build_cuvs_packages_cu11
- &rmm_cu11 rmm-cu11==24.2.*
- {matrix: {cuda: "11.5"}, packages: *build_cuvs_packages_cu11}
- {matrix: {cuda: "11.4"}, packages: *build_cuvs_packages_cu11}
- {matrix: {cuda: "11.2"}, packages: *build_cuvs_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
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_libcuvs:
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_cuvs:
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
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_cuvs_packages_cu12
- *rmm_cu12
- {matrix: {cuda: "12.1"}, packages: *run_cuvs_packages_cu12}
- {matrix: {cuda: "12.0"}, packages: *run_cuvs_packages_cu12}
- matrix: {cuda: "11.8"}
packages: &run_cuvs_packages_cu11
- *rmm_cu11
- {matrix: {cuda: "11.5"}, packages: *run_cuvs_packages_cu11}
- {matrix: {cuda: "11.4"}, packages: *run_cuvs_packages_cu11}
- {matrix: {cuda: "11.2"}, packages: *run_cuvs_packages_cu11}
- {matrix: null, packages: [*rmm_conda]}
test_python_common:
common:
- output_types: [conda, requirements, pyproject]
packages:
- pytest
- pytest-cov
test_cuvs:
common:
- output_types: [conda, requirements, pyproject]
packages:
- scikit-learn
- scipy