Download docker/Dockerfile from Dexter/compvis: direct link, hf CLI and curl.
- Browser
- Download file 725 Bytes
-
https://huggingface.co/Dexter/compvis/resolve/main/docker/Dockerfile
- Command line
-
hf download hf://Dexter/compvis/docker/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/Dexter/compvis/resolve/main/docker/Dockerfile
725 Bytes
| FROM nvidia/cuda:9.1-cudnn7-devel-ubuntu16.04 | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| curl \ | |
| vim \ | |
| ca-certificates &&\ | |
| rm -rf /var/lib/apt/lists/* | |
| RUN curl -o ~/miniconda.sh -O https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh && \ | |
| chmod +x ~/miniconda.sh && \ | |
| ~/miniconda.sh -b -p /opt/conda && \ | |
| rm ~/miniconda.sh && \ | |
| /opt/conda/bin/conda install -y python=$PYTHON_VERSION numpy pyyaml scipy ipython mkl mkl-include cython typing && \ | |
| /opt/conda/bin/conda install -y -c pytorch magma-cuda90 && \ | |
| /opt/conda/bin/conda clean -ya | |
| ENV PATH /opt/conda/bin:$PATH | |
| RUN conda install pytorch torchvision cuda91 -c pytorch | |