Skip to content
This repository has been archived by the owner on May 19, 2023. It is now read-only.

Commit

Permalink
Update conda environment name for CI (#436)
Browse files Browse the repository at this point in the history
The `gdf` conda environment has been replaced with the `rapids` environment. A symlink was put in place for `gdf` to continue to work, but the symlink will be removed in the near future. This PR updates all scripts to use the `rapids` environment name.

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

Approvers:
  - Dillon Cullinan (https://github.com/dillon-cullinan)

URL: #436
  • Loading branch information
ajschmidt8 authored Jul 8, 2021
1 parent ca40fd4 commit 12ec6c0
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion ci/checks/style.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ set +e
PATH=/conda/bin:$PATH

# Activate common conda env
source activate gdf
. /opt/conda/etc/profile.d/conda.sh
conda activate rapids

# Run flake8 and get results/return code
FLAKE=`flake8 --ignore=E501,W605 --exclude="factory.py,perfect_hash.py" python`
Expand Down
4 changes: 2 additions & 2 deletions ci/gpu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ gpuci_logger "Activate conda env"
conda activate rapids

gpuci_logger "Install conda dependenciess"
gpuci_conda_retry install -y -c pytorch -c gwerbin \
gpuci_conda_retry install -y -c pytorch \
"rapids-build-env=$MINOR_VERSION.*" \
"rapids-notebook-env=$MINOR_VERSION.*" \
"cugraph=${MINOR_VERSION}" \
Expand All @@ -50,7 +50,7 @@ gpuci_conda_retry install -y -c pytorch -c gwerbin \
"torchvision" \
"python-confluent-kafka" \
"transformers=4.*" \
"seqeval=0.0.12" \
"seqeval=1.2.2" \
"python-whois" \
"requests" \
"matplotlib" \
Expand Down
3 changes: 2 additions & 1 deletion ci/local/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ For a full list of available gpuCI docker images, visit our [DockerHub](https://
Style Check:
```bash
$ bash ci/local/build.sh -r ~/rapids/clx -s
$ source activate gdf #Activate gpuCI conda environment
$ . /opt/conda/etc/profile.d/conda.sh
$ conda activate rapids
$ cd rapids
$ flake8 python
```
Expand Down
1 change: 0 additions & 1 deletion conda/environments/clx_dev_cuda11.0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ channels:
- rapidsai-nightly
- pytorch
- conda-forge
- gwerbin
dependencies:
- cudatoolkit=11.0
- python>=3.6,<3.9
Expand Down
2 changes: 1 addition & 1 deletion examples/streamz/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ EXPOSE 2181
EXPOSE 9092

RUN source activate rapids && \
conda install -c pytorch "pytorch=1.7.1" torchvision "cudf_kafka=${RAPIDS_VERSION}" "custreamz=${RAPIDS_VERSION}" "scikit-learn>=0.21" "nodejs>=12" ipywidgets python-confluent-kafka "transformers=4.*" "seqeval=0.0.12" python-whois seaborn requests matplotlib pytest jupyterlab "openjdk=8.0.152" dask-cuda && \
conda install -c pytorch "pytorch=1.7.1" torchvision "cudf_kafka=${RAPIDS_VERSION}" "custreamz=${RAPIDS_VERSION}" "scikit-learn>=0.21" "nodejs>=12" ipywidgets python-confluent-kafka "transformers=4.*" "seqeval=1.2.2" python-whois seaborn requests matplotlib pytest jupyterlab "openjdk=8.0.152" dask-cuda && \
pip install "git+https://github.com/rapidsai/cudatashader.git" && \
pip install mockito && \
pip install wget && \
Expand Down

0 comments on commit 12ec6c0

Please sign in to comment.