Remove rust-bert

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-03-13 12:09:50 +00:00
parent 5ed0c7670a
commit f3f9c6336b
17 changed files with 47 additions and 31402 deletions

View File

@@ -1,12 +1,4 @@
FROM rust:bookworm
RUN apt-get update -y && apt-get upgrade -y
RUN apt-get install -y python3 python3-setuptools python3-pip
RUN apt-get clean
RUN rm -rf /var/lib/apt/lists/*
RUN pip3 install torch==2.1.0+cpu --index-url https://download.pytorch.org/whl/cpu --break-system-packages
ENV LIBTORCH_USE_PYTORCH 1
FROM rust
RUN rustup install nightly
RUN rustup component add rustfmt clippy --toolchain nightly