Repository navigation
Conversation
Re-port the fork's pyannote speaker diarization onto upstream 0.3.2's rewritten local-transcription architecture. Instead of a separate ~/whisperx-env, diarization now reuses upstream's managed WhisperX venv (~/.cache/watch/whisperx-venv) and runs as an opt-in parallel path, leaving upstream's transcription-only default behavior unchanged. - add --diarize flag with conflict validation and speaker-aware routing - gate behind WATCH_WHISPERX_DIARIZE (off by default); configure model, speaker counts, and clustering threshold via WATCH_WHISPERX_* settings - support GPU through upstream's WATCH_WHISPERX_DEVICE/COMPUTE_TYPE knobs - make setup.py device-aware: install CUDA (cu128) or CPU torch wheels and pyannote.audio when diarization is enabled, with gated-model guidance - read HF token from config and pass it via environment, never argv - fix latent bug: preserve the speaker field across focus-range segment shifts (--start/--end) so labels survive - document --diarize and GPU settings in SKILL.md; port and extend tests/test_diarization.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Re-port the fork's pyannote speaker diarization onto upstream 0.3.2's rewritten local-transcription architecture. Instead of a separate
~/whisperx-env, diarization now reuses upstream's managed WhisperX venv (~/.cache/watch/whisperx-venv)and runs as an opt-in parallel path, leaving upstream's transcription-only default behavior unchanged.WATCH_WHISPERX_DIARIZE(off by default); configure model, speaker counts, and clustering threshold via WATCH_WHISPERX_*` settingsWATCH_WHISPERX_DEVICE/COMPUTE_TYPEknobssetup.pydevice-aware: install CUDA (cu128) or CPU torch wheels and pyannote.audio when diarization is enabled, with gated-model guidance--start/--end) so labels survive--diarizeand GPU settings inSKILL.md; port and extendtests/test_diarization.py