Skip to content

Commit

Permalink
install torch, tf and cupy
Browse files Browse the repository at this point in the history
  • Loading branch information
lrlunin committed Nov 27, 2023
1 parent b6f7f71 commit 1994e05
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.0
0.3.1
19 changes: 18 additions & 1 deletion mbi-div-b-notebook-cuda/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,24 @@ RUN mkdir /opt/boris && \

USER ${NB_UID}

RUN fix-permissions "${CONDA_DIR}" && \
RUN mamba install --yes \
# due to the bug in previos version of notebook need to be fixed with the version below
-c 'nvidia' \
-c 'pytorch' \
'cupy' \
'pytorch' \
'torchvision' \
'torchaudio' \
'pytorch-cuda=12.1' && \
mamba clean --all -f -y && \
fix-permissions "${CONDA_DIR}" && \
fix-permissions "/home/${NB_USER}"

# Install packages missing in mamba with pip
# ultrafastfitfunctions need to be installed from git and commit after accepting the pull request
# https://github.com/EmCeBeh/ultrafastFitFunctions/pull/2
RUN pip install --no-cache-dir tensorflow[and-cuda] && \
fix-permissions "${CONDA_DIR}" && \
fix-permissions "/home/${NB_USER}"

USER ${NB_UID}
Expand Down

0 comments on commit 1994e05

Please sign in to comment.