[Speaker diarization] Can't finish the inference
State: closed | Pull request: no
Labels: name: bug

**Describe the bug**
Hi, I'm new to nemo system.
I have no idea why my program stops at "generating predictions with overlapping input segments".


```
[NeMo I 2022-08-23 15:08:22 features:200] PADDING: 16
[NeMo I 2022-08-23 15:08:23 label_models:100] loss is Angular Softmax
[NeMo I 2022-08-23 15:08:23 save_restore_connector:243] Model EncDecSpeakerLabelModel was successfully restored from /home/ec5017b/.cache/torch/NeMo/NeMo_1.10.0/titanet-l/492c0ab8416139171dc18c21879a9e45/titanet-l.nemo.
[NeMo I 2022-08-23 15:08:23 speaker_utils:82] Number of files to diarize: 1
[NeMo I 2022-08-23 15:08:23 clustering_diarizer:293] Split long audio file to avoid CUDA memory issue
100%|████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00,  1.32it/s]
[NeMo I 2022-08-23 15:08:24 vad_utils:89] The prepared manifest file exists. Overwriting!
[NeMo I 2022-08-23 15:08:24 classification_models:244] Perform streaming frame-level VAD
[NeMo I 2022-08-23 15:08:24 collections:289] Filtered duration for loading collection is 0.000000.
[NeMo I 2022-08-23 15:08:24 collections:293] # 4 files loaded accounting to # 1 labels
100%|████████████████████████████████████████████████████████████████████| 4/4 [00:03<00:00,  1.09it/s]
[NeMo I 2022-08-23 15:08:28 clustering_diarizer:242] Generating predictions with overlapping input segments
  0%|                                                                            | 0/1 [00:00<?, ?it/s]
```

**Steps/Code to reproduce bug**

`python offline_diarization.py`

my manifest.json
`{"audio_filepath": "/home/ec5017b/media-lab/nemo/NeMo/examples/speaker_tasks/diarization/data/voxconverse/voxconverse_test_wav/voxconverse_test_wav/aepyx.wav", "offset": 0, "duration": null, "label": "infer", "text": "-"}`


offline_diarization.yaml
```
name: &name "ClusterDiarizer"

num_workers: 4
sample_rate: 16000
batch_size: 64

diarizer:
  manifest_filepath: /home/ec5017b/media-lab/nemo/NeMo/examples/speaker_tasks/diarization/manifest.json
  out_dir: /home/ec5017b/media-lab/nemo/NeMo/examples/speaker_tasks/diarization/output
  oracle_vad: False # If True, uses RTTM files provided in manifest file to get speech activity (VAD) timestamps
  collar: 0.25 # Collar value for scoring
  ignore_overlap: True # Consider or ignore overlap segments while scoring

  vad:
    model_path: vad_marblenet # .nemo local model path or pretrained model name or none
    external_vad_manifest: null # This option is provided to use external vad and provide its speech activity labels for speaker embeddings extraction. Only one of model_path or external_vad_manifest should be set

    parameters: # Tuned parameters for CH109 (using the 11 multi-speaker sessions as dev set) 
      window_length_in_sec: 0.15  # Window length in sec for VAD context input 
      shift_length_in_sec: 0.01 # Shift length in sec for generate frame level VAD prediction
      smoothing: "median" # False or type of smoothing method (eg: median)
      overlap: 0.875 # Overlap ratio for overlapped mean/median smoothing filter
      onset: 0.4 # Onset threshold for detecting the beginning and end of a speech 
      offset: 0.7 # Offset threshold for detecting the end of a speech
      pad_onset: 0.05 # Adding durations before each speech segment 
      pad_offset: -0.1 # Adding durations after each speech segment 
      min_duration_on: 0.2 # Threshold for small non_speech deletion
      min_duration_off: 0.2 # Threshold for short speech segment deletion
      filter_speech_first: True 

  speaker_embeddings:
    model_path: titanet_large # .nemo local model path or pretrained model name (titanet_large, ecapa_tdnn or speakerverification_speakernet)
    parameters:
      window_length_in_sec: 1.5 # Window length(s) in sec (floating-point number). Either a number or a list. Ex) 1.5 or [1.5,1.0,0.5]
      shift_length_in_sec: 0.75 # Shift length(s) in sec (floating-point number). Either a number or a list. Ex) 0.75 or [0.75,0.5,0.25]
      multiscale_weights: null # Weight for each scale. should be null (for single scale) or a list matched with window/shift scale count. Ex) [0.33,0.33,0.33]
      save_embeddings: False # Save embeddings as pickle file for each audio input.
  
  clustering:
    parameters:
      oracle_num_speakers: False # If True, use num of speakers value provided in manifest file.
      max_num_speakers: 20 # Max number of speakers for each recording. If oracle num speakers is passed, this value is ignored.
      enhanced_count_thres: 80 # If the number of segments is lower than this number, enhanced speaker counting is activated.
      max_rp_threshold: 0.25 # Determines the range of p-value search: 0 < p <= max_rp_threshold. 
      sparse_search_volume: 30 # The higher the number, the more values will be examined with more time. 
      maj_vote_spk_count: False  # If True, take a majority vote on multiple p-values to estimate the number of speakers.

# json manifest line example
# {"audio_filepath": "/path/to/audio_file", "offset": 0, "duration": null, "label": "infer", "text": "-", "num_speakers": null, "rttm_filepath": "/path/to/rttm/file", "uem_filepath": "/path/to/uem/filepath"}
``` 


**Expected behavior**

I hope to finish the inference.

**Environment overview**

 - Environment location: Bare-metal
 - Method of NeMo install: 
```
 conda create --name nemo python==3.8
 conda activate nemo
 pip install Cython
 pip install nemo_toolkit[all]
 git clone https://github.com/NVIDIA/NeMo
```


**Environment details**
- OS version: 16.04
- PyTorch version: 1.12.1
- Python version: 3.8

**Additional context**
I have not prepared Megatron GPT & numba
Moreover, I only use the aepyx.wav in the Voxconverse test.