8000 whisper : add context param for disable gpu by jhen0409 · Pull Request #1293 · ggml-org/whisper.cpp · GitHub
[go: up one dir, main page]

Skip to content

whisper : add context param for disable gpu #1293

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 17 commits into from
Nov 6, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
metal : use SWIFT_PACKAGE instead of GGML_SWIFT
  • Loading branch information
jhen0409 committed Oct 7, 2023
commit 52c3dd64e11263f1e9f7c1735f20de3cf64d2fa8
4 changes: 2 additions & 2 deletions ggml-metal.m
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ @implementation GGMLMetalClass
// load library
{
NSBundle * bundle = nil;
#ifdef GGML_SWIFT
#ifdef SWIFT_PACKAGE
bundle = SWIFTPM_MODULE_BUNDLE;
#else
bundle = [NSBundle bundleForClass:[GGMLMetalClass class]];
Expand Down Expand Up @@ -184,7 +184,7 @@ @implementation GGMLMetalClass
#endif
ctx->library = [ctx->device newLibraryWithSource:src options:options error:&error];
}

if (error) {
metal_printf("%s: error: %s\n", __func__, [[error description] UTF8String]);
return NULL;
Expand Down
0