Skip to content

Commit

Permalink
rm pytorch install numcodecs conda
Browse files Browse the repository at this point in the history
  • Loading branch information
aryanbhosale committed Sep 26, 2024
1 parent cd14498 commit 2f973d1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ RUN conda create -n myenv python=3.12 -y
SHELL ["conda", "run", "-n", "myenv", "/bin/bash", "-c"]

# Install conda packages
RUN conda install -c conda-forge xesmf esmpy h5py pytorch-cpu=2.3.1 torchvision -y

# Install PyTorch with pip
RUN pip install torch==2.3.1 torchvision --index-url https://download.pytorch.org/whl/cpu
RUN conda install -c conda-forge xesmf esmpy h5py numcodecs -y

# Install the project and its dependencies
RUN pip install --no-cache-dir -e .
Expand Down

0 comments on commit 2f973d1

Please sign in to comment.