From 36e884def02825305303b94849d26d65edbcdfd3 Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Fri, 28 Jul 2023 10:21:58 +0800 Subject: [PATCH] remove 2.0.1 --- .github/workflows/build-docker-image.yml | 6 +-- .github/workflows/run-docker-image.yml | 6 +-- docker/torch2.0.1-cuda11.7.dockerfile | 62 ------------------------ 3 files changed, 2 insertions(+), 72 deletions(-) delete mode 100644 docker/torch2.0.1-cuda11.7.dockerfile diff --git a/.github/workflows/build-docker-image.yml b/.github/workflows/build-docker-image.yml index 5ef5be2bd..327f0ee45 100644 --- a/.github/workflows/build-docker-image.yml +++ b/.github/workflows/build-docker-image.yml @@ -2,10 +2,6 @@ # https://docs.github.com/en/actions/publishing-packages/publishing-docker-images#publishing-images-to-github-packages name: Build docker image on: - push: - branches: - - docker2 - workflow_dispatch: concurrency: @@ -20,7 +16,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - image: ["torch2.0.1-cuda11.7", "torch2.0.0-cuda11.7", "torch1.13.0-cuda11.6", "torch1.12.1-cuda11.3", "torch1.9.0-cuda10.2"] + image: ["torch2.0.0-cuda11.7", "torch1.13.0-cuda11.6", "torch1.12.1-cuda11.3", "torch1.9.0-cuda10.2"] steps: # refer to https://github.com/actions/checkout diff --git a/.github/workflows/run-docker-image.yml b/.github/workflows/run-docker-image.yml index 56be2a03d..d0ac11071 100644 --- a/.github/workflows/run-docker-image.yml +++ b/.github/workflows/run-docker-image.yml @@ -1,9 +1,5 @@ name: Run docker image on: - push: - branches: - - docker2 - workflow_dispatch: concurrency: @@ -18,7 +14,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - image: ["torch2.0.1-cuda11.7", "torch2.0.0-cuda11.7", "torch1.13.0-cuda11.6", "torch1.12.1-cuda11.3", "torch1.9.0-cuda10.2"] + image: ["torch2.0.0-cuda11.7", "torch1.13.0-cuda11.6", "torch1.12.1-cuda11.3", "torch1.9.0-cuda10.2"] steps: # refer to https://github.com/actions/checkout - uses: actions/checkout@v2 diff --git a/docker/torch2.0.1-cuda11.7.dockerfile b/docker/torch2.0.1-cuda11.7.dockerfile deleted file mode 100644 index 391499869..000000000 --- a/docker/torch2.0.1-cuda11.7.dockerfile +++ /dev/null @@ -1,62 +0,0 @@ -FROM pytorch/pytorch:2.0.1-cuda11.7-cudnn8-runtime - -ENV LC_ALL C.UTF-8 - -ARG DEBIAN_FRONTEND=noninteractive - -ARG K2_VERSION="1.24.3.dev20230718+cuda11.7.torch2.0.1" -ARG KALDIFEAT_VERSION="1.25.0.dev20230726+cuda11.7.torch2.0.1" -ARG TORCHAUDIO_VERSION="2.0.1+cu117" - -LABEL authors="Fangjun Kuang " -LABEL k2_version=${K2_VERSION} -LABEL kaldifeat_version=${KALDIFEAT_VERSION} -LABEL github_repo="https://github.com/k2-fsa/icefall" - -RUN apt-get update && \ - apt-get install -y --no-install-recommends \ - curl \ - vim \ - libssl-dev \ - autoconf \ - automake \ - bzip2 \ - ca-certificates \ - ffmpeg \ - g++ \ - gfortran \ - git \ - libtool \ - make \ - patch \ - sox \ - subversion \ - unzip \ - valgrind \ - wget \ - zlib1g-dev \ - && rm -rf /var/lib/apt/lists/* - -# Install dependencies -RUN pip install --no-cache-dir \ - torchaudio==${TORCHAUDIO_VERSION} -f https://download.pytorch.org/whl/torch_stable.html \ - k2==${K2_VERSION} -f https://k2-fsa.github.io/k2/cuda.html \ - git+https://github.com/lhotse-speech/lhotse \ - kaldifeat==${KALDIFEAT_VERSION} -f https://csukuangfj.github.io/kaldifeat/cuda.html \ - \ - kaldi_native_io \ - kaldialign \ - kaldifst \ - kaldilm \ - sentencepiece>=0.1.96 \ - tensorboard \ - typeguard \ - dill - -RUN git clone https://github.com/k2-fsa/icefall /workspace/icefall && \ - cd /workspace/icefall && \ - pip install --no-cache-dir -r requirements.txt - -WORKDIR /workspace/icefall - -