Skip to content

[BCI] QVAC-17071 feat: add BCI patches to whisper-cpp port#122

Closed
sharmaraju352 wants to merge 2 commits into
tetherto:mainfrom
sharmaraju352:feat/bci-whisper-patches
Closed

[BCI] QVAC-17071 feat: add BCI patches to whisper-cpp port#122
sharmaraju352 wants to merge 2 commits into
tetherto:mainfrom
sharmaraju352:feat/bci-whisper-patches

Conversation

@sharmaraju352

Copy link
Copy Markdown
Contributor

Summary

  • Add 2 BCI-specific patches to the whisper-cpp port for brain-computer interface neural signal transcription support
  • 0004-bci-variable-conv1-kernel.patch: Adds configurable conv1 kernel size read from model hparams (enables BCI models with non-standard kernel sizes)
  • 0005-bci-windowed-attention.patch: Adds windowed self-attention in encoder layers controlled by n_audio_window_size and n_audio_last_window_layer hparams, plus proper SOS token initialization for BCI models
  • Bump port-version to 1 (version remains 1.8.4.1)

Context

These patches are required by the new @qvac/bci-whispercpp package (tetherto/qvac#1583) which currently carries local vcpkg overlays. Once this PR merges, the BCI package can consume whisper-cpp directly from the registry.

Test plan

  • Verify whisper-cpp builds with BCI patches on all platforms (linux-x64, darwin-arm64/x64, win32-x64)
  • Verify existing whisper transcription still works (patches only activate when model hparams contain BCI fields)
  • Verify BCI model loading and transcription works with patched whisper-cpp

Made with Cursor

Raju added 2 commits April 15, 2026 15:44
Add variable conv1 kernel and windowed attention patches for
brain-computer interface neural signal transcription support.

These patches extend whisper.cpp to support:
- Configurable conv1 kernel size (read from model hparams)
- Windowed self-attention in encoder layers (controlled by
  n_audio_window_size and n_audio_last_window_layer hparams)
- Proper SOS token initialization for BCI models

Made-with: Cursor
@sharmaraju352 sharmaraju352 changed the title QVAC-17071 feat[BCI]: add BCI patches to whisper-cpp port [BCI] QVAC-17071 feat: add BCI patches to whisper-cpp port Apr 15, 2026
@sharmaraju352

Copy link
Copy Markdown
Contributor Author

Closing — BCI changes will be merged directly into the tetherto/qvac-ext-lib-whisper.cpp fork instead of carried as patches in the registry port.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant