From 8cc9b08c060131e175f6df267f1bc52bdde15201 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 10 May 2023 07:09:33 -0500 Subject: [PATCH] chore(ml): use official pytorch channel (#2416) --- machine-learning/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machine-learning/Dockerfile b/machine-learning/Dockerfile index 114c0ad915..77fc960f33 100644 --- a/machine-learning/Dockerfile +++ b/machine-learning/Dockerfile @@ -5,7 +5,7 @@ ENV PYTHONDONTWRITEBYTECODE=1 \ PIP_NO_CACHE_DIR=true RUN python -m venv /opt/venv -RUN /opt/venv/bin/pip install --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html +RUN /opt/venv/bin/pip install torch --index-url https://download.pytorch.org/whl/cpu RUN /opt/venv/bin/pip install transformers tqdm numpy scikit-learn scipy nltk sentencepiece fastapi Pillow uvicorn[standard] RUN /opt/venv/bin/pip install --no-deps sentence-transformers