File tree 2 files changed +21
-2
lines changed
2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -178,8 +178,27 @@ COPY --from=builder /build/local-ai ./
178
178
# do not let stablediffusion rebuild (requires an older version of absl)
179
179
COPY --from=builder /build/backend-assets/grpc/stablediffusion ./backend-assets/grpc/stablediffusion
180
180
181
+ # # Duplicated from Makefile to avoid having a big layer that's hard to push
181
182
RUN if [ "${IMAGE_TYPE}" = "extras" ]; then \
182
- PATH=$PATH:/opt/conda/bin make prepare-extra-conda-environments \
183
+ PATH=$PATH:/opt/conda/bin make -C extra/grpc/autogptq \
184
+ ; fi
185
+ RUN if [ "${IMAGE_TYPE}" = "extras" ]; then \
186
+ PATH=$PATH:/opt/conda/bin make -C extra/grpc/bark \
187
+ ; fi
188
+ RUN if [ "${IMAGE_TYPE}" = "extras" ]; then \
189
+ PATH=$PATH:/opt/conda/bin make -C extra/grpc/diffusers \
190
+ ; fi
191
+ RUN if [ "${IMAGE_TYPE}" = "extras" ]; then \
192
+ PATH=$PATH:/opt/conda/bin make -C extra/grpc/vllm \
193
+ ; fi
194
+ RUN if [ "${IMAGE_TYPE}" = "extras" ]; then \
195
+ PATH=$PATH:/opt/conda/bin make -C extra/grpc/huggingface \
196
+ ; fi
197
+ RUN if [ "${IMAGE_TYPE}" = "extras" ]; then \
198
+ PATH=$PATH:/opt/conda/bin make -C extra/grpc/vall-e-x \
199
+ ; fi
200
+ RUN if [ "${IMAGE_TYPE}" = "extras" ]; then \
201
+ PATH=$PATH:/opt/conda/bin make -C extra/grpc/vall-e-x \
183
202
; fi
184
203
185
204
# Copy VALLE-X as it's not a real "lib"
Original file line number Diff line number Diff line change @@ -386,7 +386,7 @@ protogen-python:
386
386
python3 -m grpc_tools.protoc -Ipkg/grpc/proto/ --python_out=extra/grpc/vllm/ --grpc_python_out=extra/grpc/vllm/ pkg/grpc/proto/backend.proto
387
387
388
388
# # GRPC
389
-
389
+ # Note: it is duplicated in the Dockerfile
390
390
prepare-extra-conda-environments :
391
391
$(MAKE ) -C extra/grpc/autogptq
392
392
$(MAKE ) -C extra/grpc/bark
You can’t perform that action at this time.
0 commit comments