-
Notifications
You must be signed in to change notification settings - Fork 550
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR Adds changes necessary to produce cum-cpu nightly packages. PR accomplishes this by: - [x] Using CMake conditional compiling - [x] Using Cython IF compilation temporarily. This will be changed for separating the C++ calls from the Python code, similar to pylibraft. - [x] Adding new conda recipe. Two follow ups from this are: - [ ] Doc and notebook updates - [ ] Additional models added Authors: - Dante Gama Dessavre (https://github.com/dantegd) Approvers: - William Hicks (https://github.com/wphicks) - Ray Douglass (https://github.com/raydouglass) - Corey J. Nolet (https://github.com/cjnolet) URL: #5585
- Loading branch information
Showing
53 changed files
with
3,058 additions
and
2,893 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
# Copyright (c) 2023, NVIDIA CORPORATION. | ||
|
||
# This assumes the script is executed from the root of the repo directory | ||
./build.sh cuml-cpu -v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
c_compiler_version: | ||
- 11 | ||
|
||
cxx_compiler_version: | ||
- 11 | ||
|
||
cmake_version: | ||
- ">=3.26.4" | ||
|
||
sysroot_version: | ||
- "=2.17" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Copyright (c) 2023, NVIDIA CORPORATION. | ||
|
||
# Usage: | ||
# conda build . -c conda-forge -c numba -c rapidsai -c pytorch | ||
{% set version = environ.get('GIT_DESCRIBE_TAG', '0.0.0.dev').lstrip('v') + environ.get('VERSION_SUFFIX', '') %} | ||
{% set py_version = environ['CONDA_PY'] %} | ||
{% set date_string = environ['RAPIDS_DATE_STRING'] %} | ||
|
||
package: | ||
name: cuml-cpu | ||
version: {{ version }} | ||
|
||
source: | ||
git_url: ../../.. | ||
|
||
build: | ||
number: {{ GIT_DESCRIBE_NUMBER }} | ||
string: py{{ py_version }}_{{ date_string }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }} | ||
script_env: | ||
- VERSION_SUFFIX | ||
|
||
requirements: | ||
build: | ||
- cmake {{ cmake_version }} | ||
- {{ compiler('c') }} | ||
- {{ compiler('cxx') }} | ||
- sysroot_{{ target_platform }} {{ sysroot_version }} | ||
- ninja | ||
host: | ||
- python x.x | ||
- setuptools | ||
- scikit-build>=0.13.1 | ||
- cython>=3.0.0 | ||
run: | ||
- python x.x | ||
- numpy | ||
- scikit-learn=1.2 | ||
- hdbscan<=0.8.30 | ||
- umap-learn=0.5.3 | ||
- nvtx | ||
|
||
tests: # [linux64] | ||
imports: # [linux64] | ||
- cuml-cpu # [linux64] | ||
|
||
about: | ||
home: http://rapids.ai/ | ||
license: Apache-2.0 | ||
# license_file: LICENSE | ||
summary: cuML-CPU library |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.