forked from LiveCarta/AIServicesBaseImages
Moved pytorch installation to position after other dependencies
This commit is contained in:
@@ -7,10 +7,10 @@ RUN pip install --root-user-action ignore huggingface_hub
|
||||
RUN hf download sentence-transformers/all-distilroberta-v1 --local-dir /assets/models/sentence-transformers/all-distilroberta-v1
|
||||
RUN hf download cross-encoder/qnli-distilroberta-base --local-dir /assets/models/cross-encoder/qnli-distilroberta-base
|
||||
|
||||
RUN pip install --root-user-action ignore torch torchvision --index-url https://download.pytorch.org/whl/cu130
|
||||
RUN conda install -c conda-forge \
|
||||
numpy=1.26.4 \
|
||||
pandas=2.3.3 \
|
||||
sentence-transformers=3.0.1 \
|
||||
keybert=0.9.0 \
|
||||
faiss-gpu=1.9.0
|
||||
RUN pip install --root-user-action ignore torch torchvision --index-url https://download.pytorch.org/whl/cu130
|
||||
|
||||
Reference in New Issue
Block a user