feat: upgrade ctranslate2 to v3.17.1 (#326)

release-0.0
Meng Zhang 2023-08-02 15:03:24 +08:00 committed by GitHub
parent 57c811b30f
commit b990781c9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM ghcr.io/opennmt/ctranslate2:3.15.0-ubuntu20.04-cuda11.2 as source FROM ghcr.io/opennmt/ctranslate2:3.17.1-ubuntu20.04-cuda11.2 as source
FROM nvidia/cuda:11.2.2-cudnn8-devel-ubuntu20.04 as builder FROM nvidia/cuda:11.2.2-cudnn8-devel-ubuntu20.04 as builder
ENV CTRANSLATE2_ROOT=/opt/ctranslate2 ENV CTRANSLATE2_ROOT=/opt/ctranslate2
@ -32,7 +32,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
cargo build --features link_shared --release && \ cargo build --features link_shared --release && \
cp target/release/tabby /opt/tabby/bin/ cp target/release/tabby /opt/tabby/bin/
FROM ghcr.io/opennmt/ctranslate2:3.15.0-ubuntu20.04-cuda11.2 FROM ghcr.io/opennmt/ctranslate2:3.17.1-ubuntu20.04-cuda11.2
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \