Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REVIEW] Unpin dask and distributed for development #886

Merged
merged 1 commit into from
Oct 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions ci/gpu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ unset GIT_DESCRIBE_TAG
# ucx-py version
export UCX_PY_VERSION='0.29.*'

# Whether to install dask nightly or stable packages.
export INSTALL_DASK_MAIN=1

# Dask version to install when `INSTALL_DASK_MAIN=0`
export DASK_STABLE_VERSION="2022.9.2"

################################################################################
# SETUP - Check environment
################################################################################
Expand Down Expand Up @@ -80,11 +86,17 @@ if hasArg --skip-tests; then
exit 0
fi

# Install the master version of dask, distributed, and dask-ml
gpuci_logger "Install the master version of dask and distributed"
set -x
pip install "git+https://github.com/dask/[email protected]" --upgrade --no-deps
pip install "git+https://github.com/dask/[email protected]" --upgrade --no-deps
# Install latest nightly version for dask and distributed depending on `INSTALL_DASK_MAIN`
if [[ "${INSTALL_DASK_MAIN}" == 1 ]]; then
gpuci_logger "Installing dask and distributed from dask nightly channel"
gpuci_mamba_retry install -c dask/label/dev \
"dask/label/dev::dask" \
"dask/label/dev::distributed"
else
gpuci_logger "gpuci_mamba_retry install conda-forge::dask==${DASK_STABLE_VERSION} conda-forge::distributed==${DASK_STABLE_VERSION} conda-forge::dask-core==${DASK_STABLE_VERSION} --force-reinstall"
gpuci_mamba_retry install conda-forge::dask==${DASK_STABLE_VERSION} conda-forge::distributed==${DASK_STABLE_VERSION} conda-forge::dask-core==${DASK_STABLE_VERSION} --force-reinstall
fi
set +x

gpuci_logger "Check GPU usage"
Expand Down
5 changes: 3 additions & 2 deletions conda/environments/raft_dev_cuda11.0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@ channels:
- rapidsai
- nvidia
- rapidsai-nightly
- dask/label/dev
- conda-forge
dependencies:
- cudatoolkit=11.0
- clang=11.1.0
- clang-tools=11.1.0
- cython>=0.29,<0.30
- cmake>=3.23.1
- dask>=2022.9.2
- distributed>=2022.9.2
- scikit-build>=0.13.1
- rapids-build-env=22.12.*
- rapids-notebook-env=22.12.*
Expand All @@ -27,8 +30,6 @@ dependencies:
- pip:
- sphinx_markdown_tables
- breathe
- git+https://github.com/dask/[email protected]
- git+https://github.com/dask/[email protected]

# rapids-build-env, notebook-env and doc-env are defined in
# https://docs.rapids.ai/maintainers/depmgmt/
Expand Down
5 changes: 3 additions & 2 deletions conda/environments/raft_dev_cuda11.2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@ channels:
- rapidsai
- nvidia
- rapidsai-nightly
- dask/label/dev
- conda-forge
dependencies:
- cudatoolkit=11.2
- clang=11.1.0
- clang-tools=11.1.0
- cython>=0.29,<0.30
- cmake>=3.23.1
- dask>=2022.9.2
- distributed>=2022.9.2
- scikit-build>=0.13.1
- rapids-build-env=22.12.*
- rapids-notebook-env=22.12.*
Expand All @@ -27,8 +30,6 @@ dependencies:
- pip:
- sphinx_markdown_tables
- breathe
- git+https://github.com/dask/[email protected]
- git+https://github.com/dask/[email protected]

# rapids-build-env, notebook-env and doc-env are defined in
# https://docs.rapids.ai/maintainers/depmgmt/
Expand Down
5 changes: 3 additions & 2 deletions conda/environments/raft_dev_cuda11.4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@ channels:
- rapidsai
- nvidia
- rapidsai-nightly
- dask/label/dev
- conda-forge
dependencies:
- cudatoolkit=11.4
- clang=11.1.0
- clang-tools=11.1.0
- cython>=0.29,<0.30
- cmake>=3.23.1
- dask>=2022.9.2
- distributed>=2022.9.2
- scikit-build>=0.13.1
- rapids-build-env=22.12.*
- rapids-notebook-env=22.12.*
Expand All @@ -27,8 +30,6 @@ dependencies:
- pip:
- sphinx_markdown_tables
- breathe
- git+https://github.com/dask/[email protected]
- git+https://github.com/dask/[email protected]

# rapids-build-env, notebook-env and doc-env are defined in
# https://docs.rapids.ai/maintainers/depmgmt/
Expand Down
5 changes: 3 additions & 2 deletions conda/environments/raft_dev_cuda11.5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ channels:
- rapidsai
- nvidia
- rapidsai-nightly
- dask/label/dev
- conda-forge
dependencies:
- cudatoolkit=11.5
Expand All @@ -11,6 +12,8 @@ dependencies:
- clang-tools=11.1.0
- cython>=0.29,<0.30
- cmake>=3.23.1
- dask>=2022.9.2
- distributed>=2022.9.2
- scikit-build>=0.13.1
- rapids-build-env=22.12.*
- rapids-notebook-env=22.12.*
Expand All @@ -28,8 +31,6 @@ dependencies:
- pip:
- sphinx_markdown_tables
- breathe
- git+https://github.com/dask/[email protected]
- git+https://github.com/dask/[email protected]

# rapids-build-env, notebook-env and doc-env are defined in
# https://docs.rapids.ai/maintainers/depmgmt/
Expand Down
4 changes: 2 additions & 2 deletions conda/recipes/raft-dask/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ requirements:
- ucx >={{ ucx_version }}
- ucx-py {{ ucx_py_version }}
- ucx-proc=*=gpu
- dask==2022.9.2
- distributed==2022.9.2
- dask>=2022.9.2
- distributed>=2022.9.2
- cuda-python >=11.5,<11.7.1
- joblib >=0.11
- {{ pin_compatible('cudatoolkit', max_pin='x', min_pin='x') }}
Expand Down