mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2026-06-04 21:25:44 -04:00
Pin torch to 2.0.1
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ COPY . .
|
||||
|
||||
# Install package from source code, compile translations
|
||||
RUN ./venv/bin/pip install Babel==2.12.1 && ./venv/bin/python scripts/compile_locales.py \
|
||||
&& ./venv/bin/pip install torch --extra-index-url https://download.pytorch.org/whl/cpu \
|
||||
&& ./venv/bin/pip install torch==2.0.1 --extra-index-url https://download.pytorch.org/whl/cpu \
|
||||
&& ./venv/bin/pip install . \
|
||||
&& ./venv/bin/pip cache purge
|
||||
|
||||
|
||||
Reference in New Issue
Block a user