pipenv icon indicating copy to clipboard operation
pipenv copied to clipboard

How to Use CMake with Pipenv to Install CUDA-enabled Packages

Open michaelsheka opened this issue 7 months ago • 1 comments

I’m looking for guidance on how to use Pipenv to install llama-cpp-python with CUDA support. The installation command using pip is:

CMAKE_ARGS="-DGGML_CUDA=on" pip install llama-cpp-python

Could someone help me with how to implement this in Pipenv?

Thanks in advance!

michaelsheka avatar Apr 07 '25 12:04 michaelsheka

@michaelsheka have you tried CMAKE_ARGS="-DGGML_CUDA=on" pipenv install llama-cpp-python ?

matteius avatar Apr 27 '25 22:04 matteius