Skip to content

Commit aa777ab

Browse files
authored
readme : LD_LIBRARY_PATH complement for some Android devices when building with CLBlast inside Termux (ggml-org#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
1 parent c824d2e commit aa777ab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,8 @@ GGML_OPENCL_DEVICE=0
687687
export LD_LIBRARY_PATH=/vendor/lib64:$LD_LIBRARY_PATH
688688
```
689689

690+
(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/ )
691+
690692
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.
691693

692694
Place your desired model into the `/llama.cpp/models/` directory and execute the `./main (...)` script.

0 commit comments

Comments
 (0)