File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,11 @@ RUN pyenv install $PYTHON_VERSION && \
27
27
28
28
# Upgrade pip and install your desired packages
29
29
ARG PIP_VERSION=22.3.1
30
- RUN pip install --no-cache-dir --upgrade pip==${PIP_VERSION} setuptools wheel && \
30
+
31
+ # FIXME: We temporarily need to specify the setuptools version <70 due to the following issue
32
+ # https://stackoverflow.com/questions/78604018/importerror-cannot-import-name-packaging-from-pkg-resources-when-trying-to
33
+ # https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/15863#issuecomment-2125026282
34
+ RUN pip install --no-cache-dir --upgrade pip==${PIP_VERSION} setuptools'<70' wheel && \
31
35
pip install --no-cache-dir torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2
32
36
33
37
WORKDIR /app
Original file line number Diff line number Diff line change @@ -17,8 +17,5 @@ uvicorn>=0.23.2
17
17
gunicorn >= 21.2.0
18
18
psutil >= 5.9.5
19
19
aiohttp >= 3.8.5
20
- # Tmp: replace with version once there is a tag above 0.8.1
21
- # This commit includes a fix that concerns
22
- # https://github.com/huggingface/diffusers/issues/6809
23
- # peft==0.7.1
24
- git+https://github.com/huggingface/peft.git@a30e006bb2f82824ab24435b9f07932738b44966
20
+ peft == 0.11.1
21
+ protobuf == 5.27.1
You can’t perform that action at this time.
0 commit comments