Skip to content

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

Closed
danbev wants to merge 7 commits into
ggml-org:masterfrom
danbev:examples-common-cleanup
Closed

examples : remove unused code from common.{cpp,h}#3244
danbev wants to merge 7 commits into
ggml-org:masterfrom
danbev:examples-common-cleanup

Conversation

@danbev

@danbev danbev commented Jun 12, 2025

Copy link
Copy Markdown
Member

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
Copy Markdown
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)
@danbev danbev closed this Apr 1, 2026
@danbev danbev deleted the examples-common-cleanup branch April 1, 2026 07:18
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