-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
28 additions
and
20 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -70,3 +70,5 @@ android/keystores/debug.keystore | |
lib/ | ||
|
||
docs/API/.nojekyll | ||
|
||
*.metallib |
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 @@ | ||
export NODE_BINARY="/Users/jhen/.nvm/versions/node/v20.10.0/bin/node" |
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
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 |
---|---|---|
@@ -1,14 +1,11 @@ | ||
--- ggml-metal.m.orig 2024-03-20 12:34:08 | ||
+++ ggml-metal.m 2024-03-20 12:35:42 | ||
@@ -329,9 +329,9 @@ | ||
LM_GGML_METAL_LOG_INFO("%s: LM_GGML_METAL_PATH_RESOURCES = %s\n", __func__, path_resource ? [path_resource UTF8String] : "nil"); | ||
--- ggml-metal.m.orig 2024-03-20 13:48:14 | ||
+++ ggml-metal.m 2024-03-20 13:46:42 | ||
@@ -301,7 +301,7 @@ | ||
const bool try_metallib = true; | ||
#endif | ||
|
||
if (path_resource) { | ||
- path_source = [path_resource stringByAppendingPathComponent:@"ggml-metal.metal"]; | ||
+ path_source = [path_resource stringByAppendingPathComponent:@"ggml-metal-llama.metal"]; | ||
} else { | ||
- path_source = [bundle pathForResource:@"ggml-metal" ofType:@"metal"]; | ||
+ path_source = [bundle pathForResource:@"ggml-metal-llama" ofType:@"metal"]; | ||
} | ||
|
||
if (path_source == nil) { | ||
- NSString * path_lib = [bundle pathForResource:@"default" ofType:@"metallib"]; | ||
+ NSString * path_lib = [bundle pathForResource:@"ggml-llama" ofType:@"metallib"]; | ||
if (try_metallib && path_lib != nil) { | ||
// pre-compiled library found | ||
NSURL * libURL = [NSURL fileURLWithPath:path_lib]; |