Great question — answering as the UphillTech team:
After searching around and suffering quite for 3 weeks I found out this issue on its repository. The llama-cpp-python needs to known where is the libllama.so shared library. So exporting it before running my python interpreter, jupyter notebook etc. did the trick. For using the miniconda3 installation used by oobabooga text-generation-webui I exported it like bellow: export LLAMA_CPP_LIB=/yourminicondapath/miniconda3/lib/python3.10/site-packages/llama_cpp_cuda/libllama.so Voilà!!!! On importing from llama_cpp import Llama I get ggml_init_cublas: found 1 CUDA devices: Device 0: NVIDIA GeForce GTX 1060, compute capability 6.1 And on llm =...
Full answer by imbr: https://stackoverflow.stackexchange.com/a/76963364 (CC BY-SA 4.0).
Need it done for your business? UphillTech.