-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: rename metal resource for avoid conflict with whisper.rn
- Loading branch information
Showing
4 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- ggml-metal.m.orig 2023-10-25 10:31:15 | ||
+++ ggml-metal.m 2023-10-25 10:31:37 | ||
@@ -208,7 +208,7 @@ | ||
} else { | ||
LM_GGML_METAL_LOG_INFO("%s: default.metallib not found, loading from source\n", __func__); | ||
|
||
- NSString * sourcePath = [bundle pathForResource:@"ggml-metal" ofType:@"metal"]; | ||
+ NSString * sourcePath = [bundle pathForResource:@"ggml-metal-llama" ofType:@"metal"]; | ||
LM_GGML_METAL_LOG_INFO("%s: loading '%s'\n", __func__, [sourcePath UTF8String]); | ||
NSString * src = [NSString stringWithContentsOfFile:sourcePath encoding:NSUTF8StringEncoding error:&error]; | ||
if (error) { |