Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .github/workflows/cicd-main-speech.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,6 @@ jobs:
script: L2_Speaker_dev_run_Neural_Diarizer_Inference
- runner: self-hosted-azure
script: L2_Speaker_dev_run_Multispeaker_ASR_Data_Simulation
- runner: self-hosted-azure
script: L2_Segmentation_Tool_Parallel_ctc_segmentation_test_L2_Eng_CitriNet_with_wav
- runner: self-hosted-azure
script: L2_Segmentation_Tool_Parallel_ctc_segmentation_test_L2_Ru_QN_with_mp3
- script: L2_SpeechLM_LoRA_TP1PP1_MBS2
runner: self-hosted-azure
- runner: self-hosted-azure-gpus-1
Expand Down
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
include requirements/*
include tools/ctc_segmentation/requirements.txt
3 changes: 2 additions & 1 deletion requirements/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
fsspec==2024.12.0
huggingface_hub>=0.24
numba ; platform_system == 'Darwin'
numba-cuda[cu13]>=0.20.0 ; platform_system != 'Darwin'
numba-cuda==0.15.1 ; platform_system != 'Darwin'
cuda-bindings ; platform_system != 'Darwin'
numexpr<2.14.0 # WAR for attempted use of nonexistent numpy.typing
numpy>=1.22
onnx>=1.7.0
Expand Down
3 changes: 1 addition & 2 deletions requirements/requirements_asr.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
braceexpand
ctc_segmentation==1.7.4
editdistance
einops
jiwer>=3.1.0,<4.0.0
kaldi-python-io
lhotse>=1.31.1
lhotse==1.31.1
# Align with upstream PyTorch requirements
librosa>=0.10.1
marshmallow
Expand Down
2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ def req_file(filename, folder="requirements"):
'common-only': req_file('requirements_common.txt'),
# domain packages
'asr-only': req_file("requirements_asr.txt"),
'ctc_segmentation': req_file("requirements.txt", folder="tools/ctc_segmentation"),
'nlp-only': req_file("requirements_nlp.txt"),
'tts': req_file("requirements_tts.txt"),
'slu': req_file("requirements_slu.txt"),
Expand Down Expand Up @@ -106,7 +105,6 @@ def req_file(filename, folder="requirements"):
extras_require['asr'] = list(
chain(
extras_require['asr'],
extras_require['ctc_segmentation'],
extras_require['common'],
)
)
Expand Down

This file was deleted.

This file was deleted.

1 change: 1 addition & 0 deletions tools/ctc_segmentation/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
ctc_segmentation==1.7.4
num2words
numpy<2.0.0
13 changes: 13 additions & 0 deletions tools/ctc_segmentation/run_segmentation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,19 @@ if [[ -z $MODEL_NAME_OR_PATH ]] || [[ -z $DATA_DIR ]] || [[ -z $OUTPUT_DIR ]]; t
exit 1
fi

# check if num2words and ctc_segmentation are installed
if ! command -v num2words &> /dev/null; then
echo "num2words could not be found"
echo "please install using tools/ctc_segmentation/requirements.txt"
exit 1
fi

if ! command -v ctc_segmentation &> /dev/null; then
echo "ctc_segmentation could not be found"
echo "please install using tools/ctc_segmentation/requirements.txt"
exit 1
fi

NEMO_NORMALIZATION=""
if [[ ${USE_NEMO_NORMALIZATION,,} == "true" ]]; then
NEMO_NORMALIZATION="--use_nemo_normalization "
Expand Down
Loading