Spaces:
Paused
Paused
# Dockerfile Public A10G | |
# https://gitlab.com/nvidia/container-images/cuda/-/blob/master/dist/11.7.1/ubuntu2204/devel/cudnn8/Dockerfile | |
# FROM nvidia/cuda:11.7.1-cudnn8-devel-ubuntu22.04 | |
# https://gitlab.com/nvidia/container-images/cuda/-/blob/master/dist/11.7.1/ubuntu2204/base/Dockerfile | |
FROM nvidia/cuda:11.7.1-base-ubuntu22.04 | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 && rm -rf /var/lib/apt/lists/* | |
WORKDIR / | |
RUN pip3 install --upgrade pip | |
# RUN pip install https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.16/xformers-0.0.16+814314d.d20230119.A10G-cp310-cp310-linux_x86_64.whl | |
RUN pip install --pre triton | |
RUN pip install numexpr torchmetrics==0.11.4 | |
EXPOSE 7860 | |
# set COMMANDLINE_ARGS=--api | |
# # RUN python launch.py --skip-torch-cuda-test --num_cpu_threads_per_process=6 --api | |
# CMD python webui.py --api --xformers --listen --disable-console-progressbars --enable-console-prompts --no-progressbar-hiding --ui-config-file |