HeliosZhao commited on
Commit
5c068bb
1 Parent(s): 2f1d662

update dockerfile

Browse files
Files changed (2) hide show
  1. Dockerfile +3 -1
  2. requirements.txt +3 -3
Dockerfile CHANGED
@@ -41,7 +41,9 @@ RUN pyenv install ${PYTHON_VERSION} && \
41
  pyenv rehash && \
42
  pip install --no-cache-dir -U pip setuptools wheel
43
 
44
- RUN pip install --no-cache-dir -U torch==1.13.1 torchvision==0.14.1
 
 
45
  COPY --chown=1000 requirements.txt /tmp/requirements.txt
46
  RUN pip install --no-cache-dir -U -r /tmp/requirements.txt
47
  RUN pip install -e Make-A-Protagonist/experts/GroundedSAM/segment_anything
 
41
  pyenv rehash && \
42
  pip install --no-cache-dir -U pip setuptools wheel
43
 
44
+ # RUN pip install --no-cache-dir -U torch==1.13.1 torchvision==0.14.1
45
+ RUN pip install --no-cache-dir -U torch==2.0.0+cu117 torchvision==0.15.1+cu117 torchaudio==2.0.1 --index-url https://download.pytorch.org/whl/cu117
46
+ RUN pip install --no-cache-dir -U xformers==0.0.17
47
  COPY --chown=1000 requirements.txt /tmp/requirements.txt
48
  RUN pip install --no-cache-dir -U -r /tmp/requirements.txt
49
  RUN pip install -e Make-A-Protagonist/experts/GroundedSAM/segment_anything
requirements.txt CHANGED
@@ -12,8 +12,8 @@ omegaconf==2.3.0
12
  Pillow==9.4.0
13
  python-slugify==7.0.0
14
  tensorboard==2.11.2
15
- torch==1.13.1
16
- torchvision==0.14.1
17
  transformers==4.27.4
18
  triton==2.0.0.post1
19
- xformers==0.0.17
 
12
  Pillow==9.4.0
13
  python-slugify==7.0.0
14
  tensorboard==2.11.2
15
+ # torch==1.13.1
16
+ # torchvision==0.14.1
17
  transformers==4.27.4
18
  triton==2.0.0.post1
19
+ # xformers==0.0.17