Skip to content

Commit

Permalink
Update ucx-py version on release using rvc
Browse files Browse the repository at this point in the history
Signed-off-by: Jordan Jacobelli <[email protected]>
  • Loading branch information
jjacobelli committed Dec 14, 2021
1 parent 7197258 commit a6dab45
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 5 deletions.
5 changes: 4 additions & 1 deletion ci/benchmark/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ export GPUCI_CONDA_RETRY_SLEEP=30
export DATASETS_DIR=${WORKSPACE}/datasets
export BENCHMARKS_DIR=${WORKSPACE}/benchmarks

# ucx-py version
export UCX_PY_VERSION='0.24.*'

##########################################
# Environment Setup #
##########################################
Expand Down Expand Up @@ -74,7 +77,7 @@ gpuci_conda_retry install -c nvidia -c rapidsai -c rapidsai-nightly -c conda-for
"cudatoolkit=$CUDA_REL" \
"dask-cudf=${MINOR_VERSION}" \
"dask-cuda=${MINOR_VERSION}" \
"ucx-py=0.24.*" \
"ucx-py=${UCX_PY_VERSION}" \
"ucx-proc=*=gpu" \
"rapids-build-env=${MINOR_VERSION}" \
rapids-pytest-benchmark
Expand Down
3 changes: 3 additions & 0 deletions ci/cpu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ export GPUCI_CONDA_RETRY_SLEEP=30
export CMAKE_GENERATOR="Ninja"
export CONDA_BLD_DIR="${WORKSPACE}/.conda-bld"

# ucx-py version
export UCX_PY_VERSION='0.24.*'

################################################################################
# SETUP - Check environment
################################################################################
Expand Down
5 changes: 4 additions & 1 deletion ci/gpu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ cd $WORKSPACE
export GIT_DESCRIBE_TAG=`git describe --tags`
export MINOR_VERSION=`echo $GIT_DESCRIBE_TAG | grep -o -E '([0-9]+\.[0-9]+)'`

# ucx-py version
export UCX_PY_VERSION='0.24.*'

################################################################################
# SETUP - Check environment
################################################################################
Expand All @@ -63,7 +66,7 @@ gpuci_mamba_retry install -y \
"cudatoolkit=$CUDA_REL" \
"dask-cudf=${MINOR_VERSION}" \
"dask-cuda=${MINOR_VERSION}" \
"ucx-py=0.24.*" \
"ucx-py=${UCX_PY_VERSION}" \
"ucx-proc=*=gpu" \
"rapids-build-env=$MINOR_VERSION.*" \
"rapids-notebook-env=$MINOR_VERSION.*" \
Expand Down
7 changes: 7 additions & 0 deletions ci/release/update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ CURRENT_SHORT_TAG=${CURRENT_MAJOR}.${CURRENT_MINOR}
NEXT_MAJOR=$(echo $NEXT_FULL_TAG | awk '{split($0, a, "."); print a[1]}')
NEXT_MINOR=$(echo $NEXT_FULL_TAG | awk '{split($0, a, "."); print a[2]}')
NEXT_SHORT_TAG=${NEXT_MAJOR}.${NEXT_MINOR}
NEXT_UCX_PY_VERSION="$(curl -sL https://version.gpuci.io/rapids/${NEXT_SHORT_TAG}).*"

echo "Preparing release $CURRENT_TAG => $NEXT_FULL_TAG"

Expand All @@ -54,7 +55,13 @@ for FILE in conda/environments/*.yml; do
sed_runner "s/dask-cuda=${CURRENT_SHORT_TAG}/dask-cuda=${NEXT_SHORT_TAG}/g" ${FILE};
sed_runner "s/dask-cudf=${CURRENT_SHORT_TAG}/dask-cudf=${NEXT_SHORT_TAG}/g" ${FILE};
sed_runner "s/cuxfilter=${CURRENT_SHORT_TAG}/cuxfilter=${NEXT_SHORT_TAG}/g" ${FILE};
sed_runner "s/ucx-py=.*/ucx-py=${NEXT_UCX_PY_VERSION}/g" ${FILE};
done

# Doxyfile update
sed_runner "s|\(TAGFILES.*librmm/\).*|\1${NEXT_SHORT_TAG}|" cpp/doxygen/Doxyfile

# ucx-py version
sed_runner "s/export UCX_PY_VERSION=.*/export UCX_PY_VERSION='${NEXT_UCX_PY_VERSION}'/g" ci/benchmark/build.sh
sed_runner "s/export UCX_PY_VERSION=.*/export UCX_PY_VERSION='${NEXT_UCX_PY_VERSION}'/g" ci/gpu/build.sh
sed_runner "s/export UCX_PY_VERSION=.*/export UCX_PY_VERSION='${NEXT_UCX_PY_VERSION}'/g" ci/cpu/build.sh
5 changes: 3 additions & 2 deletions conda/recipes/cugraph/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
{% set cuda_version='.'.join(environ.get('CUDA', 'unknown').split('.')[:2]) %}
{% set cuda_major=cuda_version.split('.')[0] %}
{% set py_version=environ.get('CONDA_PY', 36) %}
{% set ucx_py_version=environ.get('UCX_PY_VERSION') %}
package:
name: cugraph
version: {{ version }}
Expand All @@ -29,7 +30,7 @@ requirements:
- cython>=0.29,<0.30
- libcugraph={{ version }}
- cudf={{ minor_version }}
- ucx-py 0.24
- ucx-py {{ ucx_py_version }}
- ucx-proc=*=gpu
- cudatoolkit {{ cuda_version }}.*
run:
Expand All @@ -40,7 +41,7 @@ requirements:
- dask-cuda {{ minor_version }}
- dask>=2021.09.1,<=2021.11.2
- distributed>=2021.09.1,<=2021.11.2
- ucx-py 0.24
- ucx-py {{ ucx_py_version }}
- ucx-proc=*=gpu
- {{ pin_compatible('cudatoolkit', max_pin='x', min_pin='x') }}

Expand Down
3 changes: 2 additions & 1 deletion conda/recipes/pylibcugraph/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
{% set cuda_version='.'.join(environ.get('CUDA', 'unknown').split('.')[:2]) %}
{% set cuda_major=cuda_version.split('.')[0] %}
{% set py_version=environ.get('CONDA_PY', 36) %}
{% set ucx_py_version=environ.get('UCX_PY_VERSION') %}
package:
name: pylibcugraph
version: {{ version }}
Expand All @@ -28,7 +29,7 @@ requirements:
- python x.x
- cython>=0.29,<0.30
- libcugraph={{ version }}
- ucx-py 0.24
- ucx-py {{ ucx_py_version }}
- ucx-proc=*=gpu
- cudatoolkit {{ cuda_version }}.*
- rmm {{ minor_version }}.*
Expand Down

0 comments on commit a6dab45

Please sign in to comment.