-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #321 from Visual-Behavior/docker_torch1.13
Docker torch1.13 PL 1.9 - Transform p=1.0
- Loading branch information
Showing
7 changed files
with
88 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# tagged aloception-oss:cuda-11.3.1-pytorch1.10.1-lightning1.4.1 | ||
|
||
FROM nvidia/cuda:11.3.1-cudnn8-devel-ubuntu20.04 | ||
#FROM nvidia/cuda:11.6.0-cudnn8-devel-ubuntu20.04 | ||
|
||
ARG py=3.9 | ||
ARG pytorch=1.13.1 | ||
ARG torchvision=0.14.1 | ||
ARG torchaudio=0.13.1 | ||
ARG pytorch_lightning=1.9.0 | ||
ARG pycyda=11.7 | ||
|
||
ENV TZ=Europe/Paris | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y build-essential nano git wget libgl1-mesa-glx | ||
|
||
# Usefull for scipy | ||
RUN apt-get install -y gfortran | ||
# required for aloscene | ||
RUN apt-get install -y libglib2.0-0 | ||
|
||
|
||
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh | ||
RUN bash Miniconda3-latest-Linux-x86_64.sh -b -p /miniconda | ||
ENV PATH=$PATH:/miniconda/condabin:/miniconda/bin | ||
RUN /bin/bash -c "source activate base" | ||
ENV HOME /workspace | ||
WORKDIR /workspace | ||
|
||
# Pytorch & pytorch litning | ||
RUN conda install pytorch==${pytorch} torchvision==${torchvision} torchaudio==${torchaudio} pytorch-cuda=${pycuda} -c pytorch -c nvidia | ||
RUN pip install pytorch_lightning==${pytorch_lightning} | ||
|
||
COPY requirements-torch1.13.1.txt /install/requirements-torch1.13.1.txt | ||
RUN pip install -r /install/requirements-torch1.13.1.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
pycocotools==2.0.2 | ||
PyYAML==5.4.1 | ||
chardet==4.0.0 | ||
idna==2.10 | ||
|
||
scipy==1.10.0 | ||
|
||
more_itertools==8.8.0 | ||
requests==2.25.1 | ||
opencv-python==4.7.0.68 | ||
|
||
python-dateutil==2.8.2 | ||
urllib3==1.26.6 | ||
|
||
protobuf==4.21.12 | ||
wandb==0.13.9 | ||
|
||
tqdm==4.62.3 | ||
captum==0.4.0 | ||
|
||
setuptools==59.5.0 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters