You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fromllama_cppimportLlamallama=Llama("Models/mistral-7b-instruct-v0.1.Q8_0.gguf", n_gpu_layers=-1)
output=llama(
"The following is a list of the 3 largest cities in the world by population within city limits.\n\n1.",
max_tokens=1000,
)
print(output)
Tried various different n_gpu_layers including the total layer count of the model.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Installs I've used (cmd):
set FORCE_CMAKE=1 && set CMAKE_ARGS=-DLLAMA_CLBLAST=on (Multiple variations of this including HIPBLAS)
pip install llama-cpp-python --upgrade --force-reinstall --no-cache-dir
Code:
Tried various different n_gpu_layers including the total layer count of the model.
Any help would be massively appreciated!!🙏🙏🙏
Beta Was this translation helpful? Give feedback.
All reactions