Skip to content

Commit 6d6a89e

Browse files
committed
chore(packages): bump or lock down more versions, add more packages
1 parent fb9fc5c commit 6d6a89e

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,6 @@ ADD precision.py .
115115
ARG PIPELINE="ALL"
116116
ENV PIPELINE=${PIPELINE}
117117

118-
ARG USE_DREAMBOOTH=0
119-
ENV USE_DREAMBOOTH=${USE_DREAMBOOTH}
120-
121118
ARG AWS_ACCESS_KEY_ID
122119
ARG AWS_SECRET_ACCESS_KEY
123120
ARG AWS_DEFAULT_REGION
@@ -163,6 +160,9 @@ ARG USE_PATCHMATCH=0
163160
RUN if [ "$USE_PATCHMATCH" = "1" ] ; then apt-get install -yqq python3-opencv ; fi
164161
COPY --from=patchmatch /tmp/PyPatchMatch PyPatchMatch
165162

163+
ARG USE_DREAMBOOTH=0
164+
ENV USE_DREAMBOOTH=${USE_DREAMBOOTH}
165+
166166
RUN if [ "$USE_DREAMBOOTH" = "1" ] ; then \
167167
# By specifying the same torch version as conda, it won't download again.
168168
# Without this, it will upgrade torch, break xformers, make bigger image.

requirements.txt

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,19 @@ sanic==22.6.2
55
transformers==4.22.2
66
scipy==1.9.3
77
requests_futures==1.0.0
8-
numpy==1.23.4
8+
# numpy==1.23.4
9+
numpy==1.23.5
910
scikit-image==0.19.3
10-
accelerate==0.13.2
11-
triton==2.0.0.dev20221105
11+
# accelerate==0.13.2
12+
accelerate==0.15.0
13+
# triton==2.0.0.dev20221105
14+
triton==2.0.0.dev20221202
1215
ftfy==6.1.1
1316
spacy==3.4.3
1417
boto3==1.26.12
15-
k-diffusion==0.0.12
18+
k-diffusion==0.0.12
19+
safetensors==0.2.5
20+
# must match conda installed version in Dockerfile
21+
torch==1.12.1
22+
# xformers 0.0.15.dev344+git.8910bb5 requires pyre-extensions==0.0.23
23+
pyre-extensions==0.0.23

0 commit comments

Comments
 (0)