Fixed naming for sentence-transformers library (#4764)

This commit is contained in:
Manu Kashyap 2023-11-29 20:45:03 +05:30 committed by GitHub
parent a7670c31ca
commit 78fd7f6aa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ RUN --mount=type=cache,target=/root/.cache/pip,rw \
. /app/venv/bin/activate && \ . /app/venv/bin/activate && \
pip3 install --upgrade pip setuptools wheel ninja && \ pip3 install --upgrade pip setuptools wheel ninja && \
pip3 install torch xformers --index-url https://download.pytorch.org/whl/cu121 && \ pip3 install torch xformers --index-url https://download.pytorch.org/whl/cu121 && \
pip3 install torchvision torchaudio sentence_transformers pip3 install torchvision torchaudio sentence-transformers
# Copy and install GPTQ-for-LLaMa # Copy and install GPTQ-for-LLaMa
COPY --from=builder /build /app/repositories/GPTQ-for-LLaMa COPY --from=builder /build /app/repositories/GPTQ-for-LLaMa