camenduru commited on
Commit
4d04756
·
1 Parent(s): 84f36b6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -7
Dockerfile CHANGED
@@ -4,13 +4,13 @@
4
  FROM nvidia/cuda:12.2.0-base-ubuntu22.04
5
  ENV DEBIAN_FRONTEND noninteractive
6
 
7
- RUN apt-get update -y \
8
- apt-get install -y aria2 libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 \
9
- pip install -q torch==2.0.1+cu118 torchvision==0.15.2+cu118 torchaudio==2.0.2+cu118 torchtext==0.15.2 torchdata==0.6.1 --extra-index-url https://download.pytorch.org/whl/cu118 \
10
- pip install xformers==0.0.20 triton==2.0.0 \
11
- adduser --disabled-password --gecos '' user \
12
- mkdir /content \
13
- chown -R user:user /content
14
  # git clone -b v2.6 https://github.com/camenduru/stable-diffusion-webui /content/stable-diffusion-webui \
15
  # sed -i -e 's/ start()/ #start()/g' /content/stable-diffusion-webui/launch.py \
16
  # python /content/stable-diffusion-webui/launch.py --skip-torch-cuda-test \
 
4
  FROM nvidia/cuda:12.2.0-base-ubuntu22.04
5
  ENV DEBIAN_FRONTEND noninteractive
6
 
7
+ # RUN apt-get update -y \
8
+ # apt-get install -y aria2 libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 \
9
+ # pip install -q torch==2.0.1+cu118 torchvision==0.15.2+cu118 torchaudio==2.0.2+cu118 torchtext==0.15.2 torchdata==0.6.1 --extra-index-url https://download.pytorch.org/whl/cu118 \
10
+ # pip install xformers==0.0.20 triton==2.0.0 \
11
+ # adduser --disabled-password --gecos '' user \
12
+ # mkdir /content \
13
+ # chown -R user:user /content \
14
  # git clone -b v2.6 https://github.com/camenduru/stable-diffusion-webui /content/stable-diffusion-webui \
15
  # sed -i -e 's/ start()/ #start()/g' /content/stable-diffusion-webui/launch.py \
16
  # python /content/stable-diffusion-webui/launch.py --skip-torch-cuda-test \