Compare commits

...

7 commits
v1.5.7 ... main

Author SHA1 Message Date
Piero Toffanin f7a35db05b
Merge pull request #622 from savionlee/patch-1
Update cuda.Dockerfile to CUDA 12
2024-05-06 16:06:16 -04:00
Savion Lee 16ae59aa43
Update cuda.Dockerfile to CUDA 12 2024-05-06 14:06:40 -05:00
P.J. Finlay 67c5348c02
Merge pull request #618 from LibreTranslate/update-argos-1_9_6
Upgrade to Argos Translate v1.9.6
2024-05-01 16:42:36 -05:00
Piero Toffanin f167b94166
Merge pull request #619 from PeterDaveHello/UpdateDockerBaseImage
Update Dockerfile base image to Python v3.11.9
2024-05-01 09:13:59 -04:00
Peter Dave Hello 7722984df5 Update Dockerfile base image to Python v3.11.9 2024-05-01 17:57:27 +08:00
P.J. Finlay 9dde1e0142
Upgrade to Argos Translate v1.9.6
- Upgrade CTranslate2 to v4 for CUDA 12 support (https://github.com/argosopentech/argos-translate/pull/404)
- Fix deprecation error for CTranslate2 TranslationResult (https://github.com/argosopentech/argos-translate/pull/404)
2024-04-30 16:46:20 -05:00
P.J. Finlay c8360d0359 Update Argos Translate to v1.9.4
This fixes an issue in SentencePiece where the packaging is broken for newer versions of Python.

https://github.com/argosopentech/argos-translate/issues/405
2024-04-29 14:41:12 -05:00
4 changed files with 6 additions and 6 deletions

View file

@ -1,4 +1,4 @@
FROM python:3.10.10-slim-bullseye as builder
FROM python:3.11.9-slim-bullseye as builder
WORKDIR /app
@ -19,7 +19,7 @@ RUN ./venv/bin/pip install Babel==2.12.1 && ./venv/bin/python scripts/compile_lo
&& ./venv/bin/pip install . \
&& ./venv/bin/pip cache purge
FROM python:3.10.10-slim-bullseye
FROM python:3.11.9-slim-bullseye
ARG with_models=false
ARG models=""

View file

@ -1,4 +1,4 @@
FROM arm64v8/python:3.10.10-slim-bullseye as builder
FROM arm64v8/python:3.11.9-slim-bullseye as builder
WORKDIR /app
@ -19,7 +19,7 @@ RUN ./venv/bin/pip install Babel==2.12.1 && ./venv/bin/python scripts/compile_lo
&& ./venv/bin/pip install . \
&& ./venv/bin/pip cache purge
FROM arm64v8/python:3.10.10-slim-bullseye
FROM arm64v8/python:3.11.9-slim-bullseye
ARG with_models=false
ARG models=""

View file

@ -1,4 +1,4 @@
FROM nvidia/cuda:11.2.2-devel-ubuntu20.04
FROM nvidia/cuda:12.4.1-devel-ubuntu20.04
ENV ARGOS_DEVICE_TYPE cuda
ARG with_models=false

View file

@ -33,7 +33,7 @@ classifiers = [
dynamic = ["version"]
dependencies = [
"argostranslate ==1.9.1",
"argostranslate ==1.9.6",
"Flask ==2.2.5",
"flask-swagger ==0.2.14",
"flask-swagger-ui ==4.11.1",