Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 1 addition & 5 deletions cpp/ggml-metal/ggml-metal-device.m
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,7 @@ lm_ggml_metal_library_t lm_ggml_metal_library_init(lm_ggml_metal_device_t dev) {
NSBundle * bundle = [NSBundle bundleForClass:[LMGGMLMetalClass class]];
#endif

#if TARGET_OS_SIMULATOR
NSString * path_lib = [bundle pathForResource:@"ggml-llama-sim" ofType:@"metallib"];
#else
NSString * path_lib = [bundle pathForResource:@"ggml-llama" ofType:@"metallib"];
#endif
NSString * path_lib = [bundle pathForResource:@"default" ofType:@"metallib"];
if (path_lib == nil) {
// Try to find the resource in the directory where the current binary located.
NSString * bin_cur = [[NSProcessInfo processInfo] arguments][0];
Expand Down
Loading