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 : move bundle var into block
  • Loading branch information
jhen0409 committed Oct 7, 2023
commit bda4b59dc21db25df5b41a34de771d308fc6e2f6
10 changes: 5 additions & 5 deletions ggml-metal.m
Original file line number Diff line number Diff line change
Expand Up @@ -152,14 +152,14 @@ @implementation GGMLMetalClass

UNUSED(msl_library_source);

NSBundle * bundle = nil;
// load library
{
NSBundle * bundle = nil;
#ifdef GGML_SWIFT
bundle = SWIFTPM_MODULE_BUNDLE;
bundle = SWIFTPM_MODULE_BUNDLE;
#else
bundle = [NSBundle bundleForClass:[GGMLMetalClass class]];
bundle = [NSBundle bundleForClass:[GGMLMetalClass class]];
#endif

{
NSError * error = nil;
NSString * libPath = [bundle pathForResource:@"default" ofType:@"metallib"];
if (libPath != nil) {
Expand Down
0