Skip to content

examples : remove unused code from common.{cpp,h} #3244

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

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

danbev
Copy link
Collaborator

@danbev danbev commented Jun 12, 2025

This commit removes unused structs and functions from common.h and common.cpp.

The motivation for this change to clean up the examples codebase and this is a start to that process. I was going to add VAD support to the server and actually thought of adding these params to common.h which is why I started looking at this.

danbev added 5 commits June 12, 2025 14:35
This commit removes unused structs and functions from common.h and
common.cpp.

The motivation for this change to clean up the examples codebase and
this is a start to that process. I was going to add VAD support to the
server and actually thought of adding these params to common.h which is
why I started looking at this.
@ggerganov
Copy link
Member

Should also stop syncing these sources from the ggml repo. Simply remove these lines:

And would need a similar change in the ggml repo to stop syncing them back from whisper.cpp.

danbev added a commit to danbev/ggml that referenced this pull request Jun 12, 2025
This commit removes the common.{cpp,h} files from the whisper sync
scripts.

Refs: ggml-org/whisper.cpp#3244 (comment)
danbev added a commit to ggml-org/ggml that referenced this pull request Jun 12, 2025
This commit removes the common.{cpp,h} files from the whisper sync
scripts.

Refs: ggml-org/whisper.cpp#3244 (comment)
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.

2 participants