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

Install pandas 2.0 in CI #1213

Draft
wants to merge 6 commits into
base: branch-23.10
Choose a base branch
from
Draft
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
27 changes: 27 additions & 0 deletions ci/test_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,21 @@ set +u
conda activate test
set -u

# Possible cuda versions 11, 12
CONDA_CUDA_VERSION=$(echo ${RAPIDS_CUDA_VERSION} | cut -d. -f1)
rapids-logger "CONDA_VUDA_VERSION=${CONDA_CUDA_VERSION}"

# Don't change commit unless communicated.
COMMIT="c67e306"

LIBCUDF_CHANNEL_20=$(rapids-get-artifact ci/cudf/pull-request/13599/${COMMIT}/cudf_conda_cpp_cuda${CONDA_CUDA_VERSION}_$(arch).tar.gz)

CUDF_CHANNEL_20=$(rapids-get-artifact ci/cudf/pull-request/13599/${COMMIT}/cudf_conda_python_cuda${CONDA_CUDA_VERSION}_${RAPIDS_PY_VERSION//.}_$(arch).tar.gz)

rapids-logger $LIBCUDF_CHANNEL_20
rapids-logger $CUDF_CHANNEL_20


rapids-logger "Downloading artifacts from previous jobs"
PYTHON_CHANNEL=$(rapids-download-conda-from-s3 python)

Expand All @@ -31,6 +46,18 @@ rapids-mamba-retry install \
--channel "${PYTHON_CHANNEL}" \
dask-cuda


# Force remove packages
conda remove --force cudf libcudf dask-cudf pandas python-tzdata

# Install the removed packages from the custom artifact channels.
rapids-mamba-retry install \
--channel "${CUDF_CHANNEL_20}" \
--channel "${LIBCUDF_CHANNEL_20}" \
--channel dask/label/dev \
--channel conda-forge \
cudf libcudf dask-cudf pandas==2.0.2 python-tzdata

rapids-logger "Check GPU usage"
nvidia-smi

Expand Down
Loading