@@ -12,7 +12,7 @@ ARG TARGETARCH
1212ARG TARGETVARIANT
1313
1414ENV BUILD_TYPE=${BUILD_TYPE}
15- ENV EXTERNAL_GRPC_BACKENDS="huggingface-embeddings:/build/backend/python/sentencetransformers/run.sh,petals:/build/backend/python/petals/run.sh,transformers:/build/backend/python/transformers/run.sh,sentencetransformers:/build/backend/python/sentencetransformers/run.sh,autogptq:/build/backend/python/autogptq/run.sh,bark:/build/backend/python/bark/run.sh,diffusers:/build/backend/python/diffusers/run.sh,exllama:/build/backend/python/exllama/run.sh,vall-e-x:/build/backend/python/vall-e-x/run.sh,vllm:/build/backend/python/vllm/run.sh"
15+ ENV EXTERNAL_GRPC_BACKENDS="huggingface-embeddings:/build/backend/python/sentencetransformers/run.sh,petals:/build/backend/python/petals/run.sh,transformers:/build/backend/python/transformers/run.sh,sentencetransformers:/build/backend/python/sentencetransformers/run.sh,autogptq:/build/backend/python/autogptq/run.sh,bark:/build/backend/python/bark/run.sh,diffusers:/build/backend/python/diffusers/run.sh,exllama:/build/backend/python/exllama/run.sh,vall-e-x:/build/backend/python/vall-e-x/run.sh,vllm:/build/backend/python/vllm/run.sh,exllama2:/build/backend/python/exllama2/run.sh "
1616ENV GALLERIES='[{"name":"model-gallery", "url":"github:go-skynet/model-gallery/index.yaml"}, {"url": "github:go-skynet/model-gallery/huggingface.yaml","name":"huggingface"}]'
1717ARG GO_TAGS="stablediffusion tts"
1818
@@ -181,16 +181,13 @@ RUN if [ "${IMAGE_TYPE}" = "extras" ]; then \
181181RUN if [ "${IMAGE_TYPE}" = "extras" ]; then \
182182 PATH=$PATH:/opt/conda/bin make -C backend/python/exllama \
183183 ; fi
184+ RUN if [ "${IMAGE_TYPE}" = "extras" ]; then \
185+ PATH=$PATH:/opt/conda/bin make -C backend/python/exllama2 \
186+ ; fi
184187RUN if [ "${IMAGE_TYPE}" = "extras" ]; then \
185188 PATH=$PATH:/opt/conda/bin make -C backend/python/petals \
186189 ; fi
187190
188- # we also copy exllama libs over to resolve exllama import error
189- # TODO: check if this is still needed
190- RUN if [ -d /usr/local/lib/python3.9/dist-packages/exllama ]; then \
191- cp -rfv /usr/local/lib/python3.9/dist-packages/exllama backend/python/exllama/;\
192- fi
193-
194191# Define the health check command
195192HEALTHCHECK --interval=1m --timeout=10m --retries=10 \
196193 CMD curl -f $HEALTHCHECK_ENDPOINT || exit 1
0 commit comments