Skip to content

Commit

Permalink
Set MAMBA_NO_LOW_SPEED_LIMIT=1
Browse files Browse the repository at this point in the history
  • Loading branch information
raydouglass committed Apr 2, 2024
1 parent dcbf15c commit f13222d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ WORKDIR /home/rapids
COPY condarc /opt/conda/.condarc

RUN <<EOF
mamba install -y -n base \
MAMBA_NO_LOW_SPEED_LIMIT=1 mamba install -y -n base \
"rapids=${RAPIDS_VER}.*" \
"dask-sql=${DASK_SQL_VER%.*}.*" \
"python=${PYTHON_VER}.*" \
Expand Down Expand Up @@ -82,12 +82,12 @@ COPY --from=dependencies --chown=rapids /test_notebooks_dependencies.yaml test_n
COPY --from=dependencies --chown=rapids /notebooks /home/rapids/notebooks

RUN <<EOF
mamba env update -n base -f test_notebooks_dependencies.yaml
MAMBA_NO_LOW_SPEED_LIMIT=1 mamba env update -n base -f test_notebooks_dependencies.yaml
conda clean -afy
EOF

RUN <<EOF
mamba install -y -n base \
MAMBA_NO_LOW_SPEED_LIMIT=1 mamba install -y -n base \
"jupyterlab=3" \
dask-labextension
pip install jupyterlab-nvdashboard
Expand Down
1 change: 1 addition & 0 deletions raft-ann-bench/cpu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ RUN apt-get install perl -y
# runs into a solver conflict with truststore 0.8.0. This avoids the environment installing
# packages incompatible with python version needed before python itself is pinned to the correct version.
RUN <<EOF
MAMBA_NO_LOW_SPEED_LIMIT=1
mamba install -y -n base "python=${PYTHON_VER}"
mamba update --all -y -n base
mamba install -y -n base \
Expand Down
1 change: 1 addition & 0 deletions raft-ann-bench/gpu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ RUN apt-get install perl -y
# temporarily downgrade conda from 23.9.0 due to https://github.com/mamba-org/mamba/issues/2882
# after the mamba update step
RUN <<EOF
MAMBA_NO_LOW_SPEED_LIMIT=1
mamba update --all -y -n base
mamba install -y -n base \
"raft-ann-bench=${RAPIDS_VER}.*" \
Expand Down

0 comments on commit f13222d

Please sign in to comment.