Skip to content

Commit 5f7b113

Browse files
committed
Merge branch 'main' into hf-demo-notebooks
2 parents ff17a19 + 1c87a51 commit 5f7b113

36 files changed

+109
-199
lines changed

.github/actions/deepspeech-v2/Dockerfile

Lines changed: 0 additions & 45 deletions
This file was deleted.

.github/actions/deepspeech-v2/action.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/actions/deepspeech-v2/run.sh

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Get base from a pytorch image
2-
FROM pytorch/pytorch:1.6.0-cuda10.1-cudnn7-runtime
1+
pod# Get base from a pytorch image
2+
FROM pytorch/pytorch:2.1.1-cuda12.1-cudnn8-runtime
33

44
# Set to install things in non-interactive mode
55
ENV DEBIAN_FRONTEND noninteractive
@@ -17,26 +17,19 @@ RUN apt-get update \
1717
curl \
1818
libsndfile-dev \
1919
libsndfile1 \
20+
vim \
21+
curl \
2022
&& apt-get clean all \
2123
&& rm -r /var/lib/apt/lists/*
2224

23-
RUN /opt/conda/bin/conda install --yes \
24-
astropy \
25-
matplotlib \
26-
pandas \
27-
scikit-learn \
28-
scikit-image
29-
3025
# Install necessary libraries for deepspeech v3
31-
RUN pip install torch
32-
RUN pip install tensorflow
33-
RUN pip install torchaudio==0.6.0
34-
RUN pip install --no-build-isolation fairscale
26+
RUN pip install --ignore-installed PyYAML torch==2.1.1 tensorflow==2.14.1 torchaudio==2.1.1 pytorch-lightning==2.1.2 scikit-learn==1.3.2
27+
RUN pip install --no-build-isolation fairscale==0.4.13
3528

3629
RUN git clone https://github.com/SeanNaren/deepspeech.pytorch.git
37-
RUN cd deepspeech.pytorch && pip install -r requirements.txt
38-
RUN cd deepspeech.pytorch && pip install -e .
30+
RUN cd deepspeech.pytorch && sed -i '/^sklearn/d' requirements.txt && pip install -r requirements.txt && pip install -e .
31+
32+
RUN pip install numba==0.56.4 pytest-cov==4.1.0 pydub==0.25.1
33+
RUN pip list
3934

40-
RUN pip install numba==0.50.0
41-
RUN pip install pytest-cov
42-
RUN pip install pydub==0.25.1
35+
RUN mkdir -p /root/.art/data && cd /root/.art/data && curl -LJO "https://github.com/SeanNaren/deepspeech.pytorch/releases/download/V3.0/librispeech_pretrained_v3.ckpt"

.github/workflows/ci-deepspeech-v2.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

.github/workflows/ci-deepspeech-v3.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ on:
2323

2424
jobs:
2525
test_deepspeech_v3_torch_1_10:
26-
name: PyTorchDeepSpeech v3 / PyTorch 1.10
26+
name: PyTorchDeepSpeech v3 / PyTorch 2.1.1
2727
runs-on: ubuntu-latest
28-
container: adversarialrobustnesstoolbox/art_testing_envs:deepspeech_v3_torch_1_10
28+
container: adversarialrobustnesstoolbox/art_testing_envs:deepspeech_v3_torch_2_1_1
2929
steps:
3030
- name: Checkout Repo
3131
uses: actions/checkout@v3

.github/workflows/ci-huggingface.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Checkout Repo
4242
uses: actions/checkout@v3
4343
- name: Setup Python
44-
uses: actions/setup-python@v4
44+
uses: actions/setup-python@v5
4545
with:
4646
python-version: ${{ matrix.python }}
4747
- name: Install Dependencies

.github/workflows/ci-keras.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
- name: Checkout Repo
5353
uses: actions/checkout@v3
5454
- name: Setup Python
55-
uses: actions/setup-python@v4
55+
uses: actions/setup-python@v5
5656
with:
5757
python-version: ${{ matrix.python }}
5858
- name: Install Dependencies

.github/workflows/ci-legacy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Checkout Repo
4545
uses: actions/checkout@v3
4646
- name: Setup Python
47-
uses: actions/setup-python@v4
47+
uses: actions/setup-python@v5
4848
with:
4949
python-version: ${{ matrix.python }}
5050
- name: Install Dependencies

.github/workflows/ci-lingvo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Checkout Repo
4242
uses: actions/checkout@v3
4343
- name: Setup Python
44-
uses: actions/setup-python@v4
44+
uses: actions/setup-python@v5
4545
with:
4646
python-version: ${{ matrix.python }}
4747
- name: Pre-install Lingvo ASR

0 commit comments

Comments
 (0)