Skip to content

Commit cf0247c

Browse files
committed
Remove deps from linux-gpu and windows installs
1 parent 780bab0 commit cf0247c

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

.github/scripts/unittest-windows/environment.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ dependencies:
88
- scipy >= 1.4.1
99
- pip
1010
- pip:
11-
- kaldi-io
1211
- PySoundFile
1312
- future
1413
- parameterized

.github/scripts/unittest-windows/install.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,8 @@ case "$(python --version)" in
6464
NUMBA_DEV_CHANNEL="-c numba/label/dev"
6565
;;
6666
esac
67-
# Note: installing librosa via pip fail because it will try to compile numba.
6867
(
69-
conda install -y -c conda-forge ${NUMBA_DEV_CHANNEL} 'librosa==0.10.0' parameterized 'requests>=2.20'
68+
conda install -y -c conda-forge ${NUMBA_DEV_CHANNEL} parameterized 'requests>=2.20'
7069
# Need to disable shell check since this'll fail out if SENTENCEPIECE_DEPENDENCY is empty
7170
# shellcheck disable=SC2086
7271
pip install \
@@ -76,7 +75,6 @@ esac
7675
coverage \
7776
expecttest \
7877
inflect \
79-
kaldi-io \
8078
pytest \
8179
pytest-cov \
8280
pytorch-lightning \

.github/workflows/unittest-linux-gpu.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ jobs:
3434
export PYTHON_VERSION="${{ matrix.python_version }}"
3535
export CU_VERSION="${{ matrix.cuda_arch_version }}"
3636
export CUDATOOLKIT="pytorch-cuda=${CU_VERSION}"
37-
export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_APPLY_CMVN_SLIDING=true
38-
export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_COMPUTE_FBANK_FEATS=true
39-
export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_COMPUTE_KALDI_PITCH_FEATS=true
40-
export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_COMPUTE_MFCC_FEATS=true
41-
export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_COMPUTE_SPECTROGRAM_FEATS=true
4237
export TORCHAUDIO_TEST_ALLOW_SKIP_IF_CUDA_SMALL_MEMORY=true
4338
export TORCHAUDIO_TEST_ALLOW_SKIP_IF_ON_PYTHON_310=true
4439
export TORCHAUDIO_TEST_ALLOW_SKIP_IF_TEMPORARY_DISABLED=true
@@ -82,9 +77,8 @@ jobs:
8277
# --quiet --yes \
8378
# -c conda-forge \
8479
# -c numba/label/dev \
85-
# sox libvorbis 'librosa==0.10.0' parameterized 'requests>=2.20'
80+
# libvorbis parameterized 'requests>=2.20'
8681
# pip3 install --progress-bar off \
87-
# kaldi-io \
8882
# SoundFile \
8983
# coverage \
9084
# pytest \
@@ -105,7 +99,7 @@ jobs:
10599
# git+https://github.com/pytorch/fairseq.git@e47a4c8
106100
107101
pip3 install parameterized requests
108-
pip3 install kaldi-io SoundFile librosa coverage pytest pytest-cov scipy expecttest unidecode inflect Pillow sentencepiece pytorch-lightning 'protobuf<4.21.0' demucs tinytag
102+
pip3 install SoundFile coverage pytest pytest-cov scipy expecttest unidecode inflect Pillow sentencepiece pytorch-lightning 'protobuf<4.21.0' demucs tinytag
109103
pip3 install pillow scipy "numpy>=1.26"
110104
111105
echo "::endgroup::"

0 commit comments

Comments
 (0)