Skip to content

Commit

Permalink
omit redundant install
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristophSchranz committed Apr 9, 2024
1 parent 2fe5f3c commit dc6d68b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions custom/gpulibs.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,6 @@ RUN apt-get update && \
apt-get install -y --no-install-recommends cmake libncurses5-dev libncursesw5-dev git && \
apt-get clean && rm -rf /var/lib/apt/lists/*

USER $NB_UID
# These need to be two separate pip install commands, otherwise it will throw an error
# attempting to resolve the nvidia-cuda-nvcc package at the same time as nvidia-pyindex
RUN pip install --no-cache-dir nvidia-pyindex && \
pip install --no-cache-dir nvidia-cuda-nvcc && \
fix-permissions "${CONDA_DIR}" && \
fix-permissions "/home/${NB_USER}"

# reinstall nvcc with cuda-nvcc to install ptax
USER $NB_UID
# These need to be two separate pip install commands, otherwise it will throw an error
Expand Down

0 comments on commit dc6d68b

Please sign in to comment.