Great question — answering as the UphillTech team:
On Windows I use this image: FROM nvidia/cuda:11.7.1-devel-ubuntu22.04 And this is how I set the necessary vars before install. ENV CMAKE_ARGS="-DLLAMA_CUBLAS=ON" RUN pip install llama-cpp-python Works for me. Again, on Windows with Docker Desktop!
Full answer by Amin: https://stackoverflow.stackexchange.com/a/77540805 (CC BY-SA 4.0).
Need it done for your business? UphillTech.