Need help with "no kernel image is available for execution on the device" #778
Replies: 1 comment
-
|
I solved it by running ( |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
by using
CMAKE_ARGS="-DLLAMA_CUBLAS=on" FORCE_CMAKE=1 pip3 install llama-cpp-python --force-reinstall --upgrade --no-cache-dirto compile llama-cpp-python to use CUDA acceleration. without exporting any layers, it seems fine, but when I export 2 layers (I only have 2GB of VRAM, but that 2 layers can make a difference in speed) it just spits out: CUDA error 209 at /tmp/pip-install-atpt4j3d/llama-cpp-python_af3c026c37204b7c88c5a61a1e35af57/vendor/llama.cpp/ggml-cuda.cu:2221: no kernel image is available for execution on the deviceusing the llama.cpp
mainprogram seems to work fine with no apparent issues.Beta Was this translation helpful? Give feedback.
All reactions