aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Rocha Dias <91472747+gustrd@users.noreply.github.com>2023-06-26 16:34:45 -0300
committerGitHub <noreply@github.com>2023-06-26 22:34:45 +0300
commitaa777abbb73655c4e1e9237b7c0ad66745e8e48c (patch)
tree830106a1010ab8a8285710e04a709af46bafff58
parentc824d2e368d193d9f564ff29880a51cda9f90527 (diff)
readme : LD_LIBRARY_PATH complement for some Android devices when building with CLBlast inside Termux (#2007)
* 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
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 670f35e..69f42bd 100644
--- 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.