File tree 4 files changed +12
-6
lines changed
4 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ printf "Installing PyTorch with %s\n" "${cudatoolkit}"
58
58
59
59
# 2. Install torchaudio
60
60
printf " * Installing torchaudio\n"
61
- python setup.py install
61
+ BUILD_CTC_DECODER=0 python setup.py install
62
62
63
63
# 3. Install Test tools
64
64
printf " * Installing test tools\n"
72
72
(
73
73
set -x
74
74
conda install -y -c conda-forge ${NUMBA_DEV_CHANNEL} ' librosa==0.10.0' parameterized ' requests>=2.20'
75
- pip install kaldi-io SoundFile coverage pytest pytest-cov ' scipy==1.7.3' transformers expecttest unidecode inflect Pillow sentencepiece pytorch-lightning ' protobuf<4.21.0' demucs tinytag pyroomacoustics
75
+ pip install kaldi-io SoundFile coverage pytest pytest-cov ' scipy==1.7.3' transformers expecttest unidecode inflect Pillow sentencepiece pytorch-lightning ' protobuf<4.21.0' demucs tinytag pyroomacoustics flashlight-text git+https://github.com/kpu/kenlm
76
76
)
77
77
# Install fairseq
78
78
git clone https://github.com/pytorch/fairseq
Original file line number Diff line number Diff line change 50
50
51
51
# 2. Install torchaudio
52
52
printf " * Installing torchaudio\n"
53
+ export BUILD_CTC_DECODER=0
53
54
" $root_dir /packaging/vc_env_helper.bat" python setup.py install
54
55
55
56
# 3. Install Test tools
91
92
' protobuf<4.21.0' \
92
93
demucs \
93
94
tinytag \
94
- pyroomacoustics
95
+ pyroomacoustics \
96
+ flashlight-text \
97
+ git+https://github.com/kpu/kenlm/
95
98
)
96
99
# Install fairseq
97
100
git clone https://github.com/pytorch/fairseq
Original file line number Diff line number Diff line change 72
72
# TODO: Enable NVDec/NVEnc
73
73
conda install --quiet -y 'ffmpeg>=4.1' pkg-config
74
74
pip --quiet install cmake>=3.18.0 ninja
75
- USE_FFMPEG=1 pip install --progress-bar off -v -e . --no-use-pep517
75
+ BUILD_CTC_DECODER=0 USE_FFMPEG=1 pip install --progress-bar off -v -e . --no-use-pep517
76
+
77
+ # Install runtime dependencies
78
+ pip --quiet install git+https://github.com/kpu/kenlm/ flashlight-text
76
79
77
80
# Install build tools
78
81
conda install --quiet -y -c conda-forge pandoc doxygen pysoundfile
Original file line number Diff line number Diff line change @@ -57,11 +57,11 @@ jobs:
57
57
# Install torchaudio
58
58
conda install --quiet -y 'ffmpeg>=4.1' pkg-config
59
59
python3 -m pip --quiet install cmake>=3.18.0 ninja
60
- USE_FFMPEG=1 python3 -m pip install -v -e . --no-use-pep517
60
+ BUILD_CTC_DECODER=0 USE_FFMPEG=1 python3 -m pip install -v -e . --no-use-pep517
61
61
62
62
# Install test tools
63
63
conda install -y --quiet -c conda-forge -c numba/label/dev 'librosa==0.10.0' parameterized 'requests>=2.20'
64
- python3 -m pip install --quiet kaldi-io SoundFile coverage pytest pytest-cov 'scipy==1.7.3' transformers expecttest unidecode inflect Pillow sentencepiece pytorch-lightning 'protobuf<4.21.0' demucs tinytag
64
+ python3 -m pip install --quiet kaldi-io SoundFile coverage pytest pytest-cov 'scipy==1.7.3' transformers expecttest unidecode inflect Pillow sentencepiece pytorch-lightning 'protobuf<4.21.0' demucs tinytag flashlight-text git+https://github.com/kpu/kenlm/
65
65
python3 -m pip install --quiet git+https://github.com/pytorch/fairseq.git@e47a4c8
66
66
67
67
# Run tests
You can’t perform that action at this time.
0 commit comments