Skip to content

Commit

Permalink
bump to 2024.4, fix mamba/conda calls
Browse files Browse the repository at this point in the history
  • Loading branch information
dafeliton committed Nov 28, 2024
1 parent c31867b commit 51ad72e
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 37 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/ucsd-ets/datascience-notebook:2023.4-stable
FROM ghcr.io/ucsd-ets/datascience-notebook:2024.4-stable

LABEL maintainer="UC San Diego ITS/ETS <[email protected]>"
#
Expand Down Expand Up @@ -31,7 +31,7 @@ RUN apt-get -q update && \

COPY env.yml /tmp/env.yml

RUN conda env create --file /tmp/env.yml && \
RUN mamba env create --file /tmp/env.yml && \
eval "$(conda shell.bash hook)" && \
conda activate ${KERNEL} && \
mkdir -p $CONDA_PREFIX/etc/conda/activate.d && \
Expand All @@ -47,7 +47,6 @@ RUN conda env create --file /tmp/env.yml && \
USER jovyan
# other packages here...


# From the "original" 2022 version:
# USER $NB_UID:$NB_GID
ENV PATH=${PATH}:/usr/local/cuda/bin
Expand Down
62 changes: 28 additions & 34 deletions env.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,31 @@
name: vis149
channels:
- conda-forge
- pytorch-nightly
- pytorch
- defaults
- conda-forge
- pytorch
- defaults
dependencies:
- python=3.7
#- python=3.9
#- tensorflow=2.9.1=cuda112*
- cudatoolkit=11.1
- cudnn=8.0.5
- jaxlib=0.1.55
#- tensorboard
- ipykernel
- matplotlib
- pip
- pip:
- click
- requests
- tqdm
- gdown
- imageio-ffmpeg==0.4.3
- jax==0.1.73
- opencv-contrib-python-headless
- opencv-python
- opensimplex
- pillow
- pyspng==0.1.0
- networkx
- scipy
- ninja
- torch==1.8.0+cu111
- torchvision==0.9.0+cu111
- torchaudio==0.8.0
# - tensorflow==2.12.*
# - nvidia-cudnn-cu11==8.6.0.163
- python=3.7
- cudatoolkit=11.1
- cudnn=8.1.0
- jaxlib=0.1.55
- pip
- pip:
- ipykernel
- matplotlib
- click
- requests
- tqdm
- gdown
- jax==0.1.73
- imageio-ffmpeg==0.4.3
- opencv-contrib-python-headless
- opencv-python
- opensimplex
- pillow
- pyspng==0.1.0
- networkx
- scipy
- ninja
- torch==1.8.0
- torchvision==0.9.0
- torchaudio==0.8.0

0 comments on commit 51ad72e

Please sign in to comment.