From 65c84b7bac0bca02e71ff452078d27b7fb4beaa6 Mon Sep 17 00:00:00 2001 From: Peter Andreas Entschev Date: Tue, 7 Nov 2023 07:14:52 -0800 Subject: [PATCH 1/2] Add conda environment files without CUDA requirement --- conda/environments/all.yaml | 34 ++++++++++++++++++++++++++++++++++ conda/environments/cpp.yaml | 17 +++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 conda/environments/all.yaml create mode 100644 conda/environments/cpp.yaml diff --git a/conda/environments/all.yaml b/conda/environments/all.yaml new file mode 100644 index 00000000..9456c5a8 --- /dev/null +++ b/conda/environments/all.yaml @@ -0,0 +1,34 @@ +# This file is generated by `rapids-dependency-file-generator`. +# To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`. +channels: +- dask/label/dev +- conda-forge +dependencies: +- c-compiler +- cloudpickle +- cmake>=3.26.4 +- cxx-compiler +- cython>=3.0.0 +- dask +- distributed +- fmt>=9.1.0,<10 +- gmock>=1.13.0 +- gtest>=1.13.0 +- libtool +- ninja +- numba>=0.57.1 +- numpy>=1.21 +- pip +- pkg-config +- pre-commit +- pytest +- pytest-asyncio +- pytest-rerunfailures +- python>=3.9,<3.11 +- scikit-build>=0.13.1 +- setuptools +- spdlog>=1.11.0,<1.12 +- tomli +- ucx +- wheel +name: ucxx diff --git a/conda/environments/cpp.yaml b/conda/environments/cpp.yaml new file mode 100644 index 00000000..23b26b29 --- /dev/null +++ b/conda/environments/cpp.yaml @@ -0,0 +1,17 @@ +# This file is generated by `rapids-dependency-file-generator`. +# To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`. +channels: +- conda-forge +dependencies: +- c-compiler +- cmake>=3.26.4 +- cxx-compiler +- fmt>=9.1.0,<10 +- gmock>=1.13.0 +- gtest>=1.13.0 +- libtool +- ninja +- pre-commit +- spdlog>=1.11.0,<1.12 +- ucx +name: libucxx From af5b587b491eac8812ec615a918fc3b7a6c33f9b Mon Sep 17 00:00:00 2001 From: Peter Andreas Entschev Date: Tue, 7 Nov 2023 07:20:21 -0800 Subject: [PATCH 2/2] Update README --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4471fafe..828a9d13 100644 --- a/README.md +++ b/README.md @@ -24,10 +24,12 @@ $ conda install -c conda-forge mamba After that, one can proceed as before, but simply replacing `conda` with `mamba` in the environment creation command: ``` -$ mamba env create -n ucxx -f conda/environments/ucxx-cuda118_arch-x86_64.yml -$ conda activate ucxx +$ mamba env create -n ucxx -f conda/environments/all_cuda-118_arch-x86_64.yaml +$ conda activate all_cuda-118_arch-x86_64 ``` +The environment above will install CUDA 11.8 dependencies, with another file `all_cuda-120_arch-x86_64.yaml` for CUDA 12.0. There are also two other files if you don't need CUDA: `cpp.yaml` (C++-only build dependencies) and `all.yaml` (C++ and Python build dependencies). + ### Convenience Script For convenience, we provide the `./build.sh` script. By default, it will build and install both C++ and Python libraries. For a detailed description on available options please check `./build.sh --help`.