radames commited on
Commit
66b5681
·
2 Parent(s): 5908389 a39f171

Merge branch 'main' into space-sdturbo

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -2
  2. requirements.txt +2 -2
Dockerfile CHANGED
@@ -15,7 +15,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
15
  google-perftools \
16
  ca-certificates curl gnupg \
17
  && apt-get clean && rm -rf /var/lib/apt/lists/*
18
-
19
  WORKDIR /code
20
 
21
  RUN mkdir -p /etc/apt/keyrings
@@ -36,7 +36,7 @@ ENV HOME=/home/user \
36
  PYTHONUNBUFFERED=1 \
37
  SYSTEM=spaces
38
 
39
- RUN pip3 install --no-cache-dir --upgrade -r /code/requirements.txt
40
 
41
  # Set the working directory to the user's home directory
42
  WORKDIR $HOME/app
 
15
  google-perftools \
16
  ca-certificates curl gnupg \
17
  && apt-get clean && rm -rf /var/lib/apt/lists/*
18
+
19
  WORKDIR /code
20
 
21
  RUN mkdir -p /etc/apt/keyrings
 
36
  PYTHONUNBUFFERED=1 \
37
  SYSTEM=spaces
38
 
39
+ RUN pip3 install --no-cache-dir --upgrade --pre -r /code/requirements.txt
40
 
41
  # Set the working directory to the user's home directory
42
  WORKDIR $HOME/app
requirements.txt CHANGED
@@ -1,4 +1,4 @@
1
- git+https://github.com/huggingface/diffusers@22b45304bf85a3c5281753d6b3259ccaf96e5085
2
  transformers==4.35.2
3
  --extra-index-url https://download.pytorch.org/whl/cu121;
4
  torch
@@ -12,5 +12,5 @@ peft==0.6.0
12
  xformers; sys_platform != 'darwin' or platform_machine != 'arm64'
13
  markdown2
14
  stable_fast @ https://github.com/chengzeyi/stable-fast/releases/download/v0.0.15.post1/stable_fast-0.0.15.post1+torch211cu121-cp310-cp310-manylinux2014_x86_64.whl
15
- oneflow @ https://oneflow-pro.oss-cn-beijing.aliyuncs.com/branch/community/cu122/794a56cc787217f46b21f5cbc84f65295664b82c/oneflow-0.9.1%2Bcu122.git.794a56c-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
16
  git+https://github.com/Oneflow-Inc/onediff.git@main#egg=onediff
 
1
+ diffusers==0.24.0
2
  transformers==4.35.2
3
  --extra-index-url https://download.pytorch.org/whl/cu121;
4
  torch
 
12
  xformers; sys_platform != 'darwin' or platform_machine != 'arm64'
13
  markdown2
14
  stable_fast @ https://github.com/chengzeyi/stable-fast/releases/download/v0.0.15.post1/stable_fast-0.0.15.post1+torch211cu121-cp310-cp310-manylinux2014_x86_64.whl
15
+ oneflow @ https://oneflow-pro.oss-cn-beijing.aliyuncs.com/branch/community/cu121/794a56cc787217f46b21f5cbc84f65295664b82c/oneflow-0.9.1%2Bcu121.git.794a56c-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
16
  git+https://github.com/Oneflow-Inc/onediff.git@main#egg=onediff