From 02adbd4c1b2105a3071e6217176c61070df2d506 Mon Sep 17 00:00:00 2001 From: McCloudS <64094529+McCloudS@users.noreply.github.com> Date: Mon, 3 Feb 2025 21:54:53 -0700 Subject: [PATCH] Delete Dockerfile.compute5 --- Dockerfile.compute5 | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 Dockerfile.compute5 diff --git a/Dockerfile.compute5 b/Dockerfile.compute5 deleted file mode 100644 index 95b56cc..0000000 --- a/Dockerfile.compute5 +++ /dev/null @@ -1,37 +0,0 @@ -FROM nvidia/cuda:12.3.2-cudnn9-runtime-ubuntu22.04 - -ADD https://raw.githubusercontent.com/McCloudS/subgen/main/requirements.txt /subgen/requirements.txt - -RUN apt-get update \ - && apt-get install -y \ - python3 \ - python3-pip \ - ffmpeg \ - git \ - g++ \ - cmake \ - && apt-get clean \ - && rm -rf /var/lib/apt/lists/* \ - && pip3 install -r /subgen/requirements.txt \ - && git clone --recursive https://github.com/OpenNMT/CTranslate2.git /CTranslate2 \ - && cd /CTranslate2 \ - && mkdir build && cd build \ - && cmake -DCUDA_ARCH_LIST="5.0" -DWITH_CUDA=ON -DWITH_CUDNN=ON -DWITH_MKL=OFF -DOPENMP_RUNTIME=NONE .. \ - && make -j$(nproc) \ - && make install \ - && ldconfig \ - && cd /CTranslate2/python \ - && pip install -r install_requirements.txt \ - && python setup.py bdist_wheel \ - && pip uninstall -y ctranslate2 \ - && pip install dist/*.whl - -WORKDIR /subgen - -ENV PYTHONUNBUFFERED=1 - -ADD https://raw.githubusercontent.com/McCloudS/subgen/main/launcher.py /subgen/launcher.py -ADD https://raw.githubusercontent.com/McCloudS/subgen/main/subgen.py /subgen/subgen.py -ADD https://raw.githubusercontent.com/McCloudS/subgen/main/language_code.py /subgen/language_code.py - -CMD [ "bash", "-c", "python3 -u launcher.py" ]