File size: 297 Bytes
e37abe2 2800109 b0c7b3b 83c25ba f3be2ab 825b732 b2fe609 |
1 2 3 4 5 6 7 |
import subprocess
# commented because the existing llama-cpp-python package was renoved fron requirements.txt
subprocess.run("pip uninstall -y llama-cpp-python", shell=True)
install_command = "CMAKE_ARGS='-DLLAMA_CUDA=on' pip install llama-cpp-python"
subprocess.run(install_command, shell=True) |