Skip to content

[Bug] process hangs indefinitely at "computing global sherpa timeline" during Sherpa diarization on Windows CUDA #328

Description

@usamashafiqs

Bug Description

When running crispasr with --diarize using --diarize-method sherpa on Windows (CUDA backend), the transcription completes successfully in ~1s, but the process hangs indefinitely during the Sherpa timeline computation phase without completing, throwing an error, or exiting.

The console output stops at:
crispasr[diarize]: computing global sherpa timeline over 987681 samples (61.7 s)...

Explicitly setting -t 2 / --threads 2 does not resolve the freeze.


Reproduction Command

crispasr --backend whisper -m models\ggml-large-v3-turbo-q8_0.bin -f audio.wav --diarize --diarize-method sherpa --sherpa-num-clusters 2 -ojf --sherpa-segment-model models\sherpa-segmentation.onnx --sherpa-embedding-model models\3dspeaker_speech_eres2net_base_sv_zh-cn_3dspeaker_16k.onnx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions