opencompletion.com/install-llama.sh
Russell Ballestrini 2f8a6c502d hacked in ability to run local llama2 models like mistral
modified:   app.py
	new file:   install-llama.sh
	modified:   requirements.txt
2024-01-13 10:05:02 -05:00

6 lines
186 B
Bash
Executable file

#!/bin/bash
# make sure your python virtual env is already sourced and active.
export CMAKE_ARGS="-DLLAMA_CUBLAS=on"
export FORCE_CMAKE=1
pip install --upgrade llama-cpp-python[server]