Skip to content

Add loader class to allow loading from buffer and others#353

Merged
ggerganov merged 6 commits intoggml-org:masterfrom
prsyahmi:master
Jan 8, 2023
Merged

Add loader class to allow loading from buffer and others#353
ggerganov merged 6 commits intoggml-org:masterfrom
prsyahmi:master

Conversation

@prsyahmi
Copy link
Copy Markdown
Contributor

@prsyahmi prsyahmi commented Jan 1, 2023

Hi, I added a class to allow flexible loading of whisper model from any source.

Please note that I made a breaking change (renaming whisper_init to whisper_init_from_file) and didn't test go, wasm, emscripten and iOS/apple related.

@ggerganov
Copy link
Copy Markdown
Member

Thanks for this - on first look, it seems well done!
I will review the changes in more details in the following days.

@ggerganov ggerganov merged commit 1512545 into ggml-org:master Jan 8, 2023
@ggerganov
Copy link
Copy Markdown
Member

Thanks for this and sorry for force-pushing in your repo - not sure if there is a better way to resolve merge conflicts when the PR is from another remote.

anandijain pushed a commit to anandijain/whisper.cpp that referenced this pull request Apr 28, 2023
…gml-org#353)

* whisper : add loader to allow loading from other than file

* whisper : rename whisper_init to whisper_init_from_file

* whisper : add whisper_init_from_buffer

* android : Delete local.properties

* android : load models directly from assets

* whisper : adding <stddef.h> needed for size_t + code style

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
jacobwu-b pushed a commit to jacobwu-b/Transcriptify-by-whisper.cpp that referenced this pull request Oct 24, 2023
…gml-org#353)

* whisper : add loader to allow loading from other than file

* whisper : rename whisper_init to whisper_init_from_file

* whisper : add whisper_init_from_buffer

* android : Delete local.properties

* android : load models directly from assets

* whisper : adding <stddef.h> needed for size_t + code style

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
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