Skip to content

Commit

Permalink
Remove unused dependencies in GPU tests job (#268)
Browse files Browse the repository at this point in the history
This PR removes some unused dependencies to reduce CI time

Authors:
  - Jordan Jacobelli (https://github.com/Ethyling)

Approvers:
  - AJ Schmidt (https://github.com/ajschmidt8)

URL: #268
  • Loading branch information
jjacobelli authored May 9, 2022
1 parent 0e43353 commit a9e1b20
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions ci/gpu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ cd $WORKSPACE
export GIT_DESCRIBE_TAG=`git describe --abbrev=0 --tags`
export MINOR_VERSION=`echo $GIT_DESCRIBE_TAG | grep -o -E '([0-9]+\.[0-9]+)'`
echo "MINOR_VERSION: ${MINOR_VERSION}"
unset GIT_DESCRIBE_TAG

# Get CUDA and Python version
export CUDA_VERSION=${CUDA_VERSION:-$(cat /usr/local/cuda/version.txt | egrep -o "[[:digit:]]+.[[:digit:]]+.[[:digit:]]+")}
Expand All @@ -51,11 +52,6 @@ gpuci_logger "Activate conda env"
. /opt/conda/etc/profile.d/conda.sh
conda activate rapids

gpuci_logger "Install dependencies"
gpuci_mamba_retry install -y -c rapidsai-nightly \
"cudatoolkit=${CUDA_VER}.*" \
"rapids-build-env=$MINOR_VERSION.*"

################################################################################
# BUILD - Build cuCIM
################################################################################
Expand All @@ -68,22 +64,19 @@ LIBCUCIM_BLD_PATH=$WORKSPACE/ci/artifacts/cucim/cpu/.conda-bld
CUCIM_BLD_PATH=/opt/conda/envs/rapids/conda-bld
mkdir -p ${CUCIM_BLD_PATH}


gpuci_mamba_retry build -c ${LIBCUCIM_BLD_PATH} -c conda-forge -c rapidsai-nightly \
--dirty \
--no-remove-work-dir \
--croot ${CUCIM_BLD_PATH} \
conda/recipes/cucim


################################################################################
# TEST - Run py.tests for cuCIM
################################################################################

# Install cuCIM and its dependencies
gpuci_logger "Installing cuCIM and its dependencies"
gpuci_mamba_retry install -y -c ${LIBCUCIM_BLD_PATH} -c ${CUCIM_BLD_PATH} -c rapidsai-nightly \
"rapids-build-env=$MINOR_VERSION.*" \
libcucim \
cucim

Expand Down

0 comments on commit a9e1b20

Please sign in to comment.