From b47ee695727b2f93ad7767543d71d54c3605a5dc Mon Sep 17 00:00:00 2001 From: JackJollimore <130917767+JackJollimore@users.noreply.github.com> Date: Fri, 1 Sep 2023 02:19:47 -0300 Subject: [PATCH] Ensure device compatibility for CLBlast Some devices path from Vendor, others path from System --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8f80ba524..14687c271 100644 --- a/README.md +++ b/README.md @@ -833,13 +833,17 @@ cd llama.cpp make LLAMA_CLBLAST=1 ``` -Use the following to enable GPU: +Use one of the following to enable GPU: ``` export LD_LIBRARY_PATH=/vendor/lib64:$LD_LIBRARY_PATH ``` +or +``` +export LD_LIBRARY_PATH=/system/vendor/lib64:$LD_LIBRARY_PATH +``` then `./main ... --gpu-layers 1` -(Note: Use `unset LD_LIBRARY_PATH` to re-link executables) +(Note: Use `unset LD_LIBRARY_PATH` to re-link executables.) ### Docker