Skip to content

Commit 0f216d3

Browse files
committed
Merge branch 'layla-build' of https://github.com/l3utterfly/llama.cpp into layla-build
2 parents 1ae989d + c25a377 commit 0f216d3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ggml/src/ggml-backend-reg.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,10 @@ void ggml_backend_reg_layla(bool useVulkan, bool useOpenCL, bool useHexagon, boo
380380
}
381381

382382
if(useHexagon) {
383-
get_reg().load_backend("libggml-hexagon.so", false);
383+
//setenv("GGML_HEXAGON_VERBOSE", "1", 1);
384+
setenv("LD_LIBRARY_PATH", "/data/data/com.layla/files/app-data/hexagon-inference", 1);
385+
setenv("ADSP_LIBRARY_PATH", "/data/data/com.layla/files/app-data/hexagon-inference", 1);
386+
get_reg().load_backend("/data/data/com.layla/files/app-data/hexagon-inference/libggml-hexagon.so", false);
384387
}
385388

386389
// load cpu backend depending on feature detection

0 commit comments

Comments
 (0)