-
Notifications
You must be signed in to change notification settings - Fork 4.4k
vad : add initial Voice Activity Detection (VAD) support #3065
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 47 commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
871da0b
vad : add initial Voice Activity Detection (VAD) support
danbev 2490168
examples : add VAD parameters to CLI [no ci]
danbev eb23253
ci : add job to test VAD
danbev 59252c2
vad : map timestamps to original audio
danbev 37a36a3
squash! vad : add initial Voice Activity Detection (VAD) support [no ci]
danbev 033c0ce
vad : extract VAD processing to a separate function
danbev 028481e
vad : add TODOs to optimize segment access [no ci]
danbev fc7ebf2
vad : only use CPU backend for VAD processing [no ci]
danbev 3276232
tests : fix strcmp assert and use beam search
danbev abc05c5
vad : dont reshape stft_forward_basis tensor
danbev 0e18ceb
vad : use ggml_row_size() and rename hdim_bytes to hdim_size
danbev 9bf1b4b
vad : remove unnecessary ggml_cont
danbev dc52995
vad : fix typo in log message
danbev 2b05773
vad : don't use left leaning ref for segment
danbev 44bdef1
vad : use std::vector<float> instead float pointers
danbev 27eb59b
vad : enable GPU support for VAD but default to false
danbev 643a91b
vad : use kebab-case and not snake_case for VAD options
danbev e4d4307
vad : add h_state and c_state to whisper_vad_state
danbev 94c3aba
vad : always initialize filtered_n_samples to 0
danbev e70e486
vad : use orig timestamp for first segment
danbev 436baeb
vad : fix buffers and enable GPU support by default
ggerganov eb2c83e
vad : fix use_gpu assert in test-vad.cpp
danbev 47c8f02
vad : remove unnecessary reserve [no ci]
danbev 327cdae
vad : add probs to whisper_vad_state
danbev bf2b0df
vad : add timing of vad processing [no ci]
danbev 243e0db
vad : force GPU off for now
ggerganov 65c421d
vad : minor style and naming changes
ggerganov cae38fd
vad : minor style
ggerganov cd953eb
vad : remove obsolete whisper_vad_free_speech
ggerganov f42e6e4
vad : refactor whiser_vad_params API
ggerganov 4ff858b
vad : simplify whisper_vad_timestamps_from_probs()
ggerganov 13a7517
vad : refactor whisper_vad_timestamps_from_probs to use C++
ggerganov 3bcc44c
vad : make whisper_vad_timestamps oblique in API
danbev 5543c80
vad : rename whisper_vad_speech to whisper_vad_probs
danbev 8b6f19c
vad : move whisper_vad_segment to whisper.cpp
danbev 7625ba1
vad : make segments vector a std::vector
danbev b0b2f9b
vad : use std::vector for segments in whisper_vad_timestamps_from_probs
danbev 20fe0b3
vad : rename pcmf32 parameters to samples [no ci]
danbev f212310
vad : remove n_segments from struct whisper_vad_timestamps
danbev 4c7fe00
vad : rename whisper_vad_timestamps to whisper_vad_segments [no ci]
danbev dc541f9
vad : remove whisper_vad_probs struct [no ci]
danbev 163ad53
vad : remove whisper_vad_state struct
danbev 810981f
vad : remove window_size_samples from VAD params
danbev 050038c
vad : clarify VAD CLI options [no ci]
danbev 3cff658
docs : add VAD section to README.md [no ci]
danbev acc8747
squash! docs : add VAD section to README.md [no ci]
danbev 7aac6ec
vad : minor rename
ggerganov 41c2010
squash! docs : add VAD section to README.md [no ci]
danbev 67f0fd4
vad : fix cli option names [no ci]
danbev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.