]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
readme : LD_LIBRARY_PATH complement for some Android devices when building with CLBla...
authorGustavo Rocha Dias <redacted>
Mon, 26 Jun 2023 19:34:45 +0000 (16:34 -0300)
committerGitHub <redacted>
Mon, 26 Jun 2023 19:34:45 +0000 (22:34 +0300)
* docs - Alternative way to build at Android, with CLBlast.

* doc - LD_LIBRARY_PATH complement for some Android devices when building with CLBlast inside Termux.

* doc- fix typo

README.md

index 670f35eca4ce033b1809277d52d2f25a674df361..69f42bd00feb1dfdf716f8575a252b4760653676 100644 (file)
--- a/README.md
+++ b/README.md
@@ -687,6 +687,8 @@ GGML_OPENCL_DEVICE=0
 export LD_LIBRARY_PATH=/vendor/lib64:$LD_LIBRARY_PATH
 ```
 
+(Note: some Android devices, like the Zenfone 8, need the following command instead - "export LD_LIBRARY_PATH=/system/vendor/lib64:$LD_LIBRARY_PATH". Source: https://www.reddit.com/r/termux/comments/kc3ynp/opencl_working_in_termux_more_in_comments/ )
+
 For easy and swift re-execution, consider documenting this final part in a .sh script file. This will enable you to rerun the process with minimal hassle.
 
 Place your desired model into the `/llama.cpp/models/` directory and execute the `./main (...)` script.