IOPaint/docker/GPUDockerfile

19 lines
611 B
Plaintext
Raw Normal View History

2023-01-20 02:30:14 +01:00
FROM nvidia/cuda:11.7.1-runtime-ubuntu20.04
2022-10-05 17:15:09 +02:00
RUN apt-get update && apt-get install -y --no-install-recommends \
software-properties-common \
libsm6 libxext6 ffmpeg libfontconfig1 libxrender1 libgl1-mesa-glx \
curl python3-pip
2023-11-01 02:51:26 +01:00
RUN pip3 install --upgrade pip
RUN pip3 install torch==1.13.1
RUN pip3 install https://files.pythonhosted.org/packages/6a/c8/f5c62870f9c3c4c9a87dc260869894860e2f33552addec83bdb4cda1e315/xformers-0.0.16-cp38-cp38-manylinux2014_x86_64.whl --platform manylinux2014_x86_64 --no-deps --dry-run
2023-01-20 02:30:14 +01:00
2022-11-01 02:09:43 +01:00
ARG version
RUN pip3 install lama-cleaner==$version
2022-10-05 17:15:09 +02:00
EXPOSE 8080
2022-11-01 02:09:43 +01:00
CMD ["bash"]