-
Notifications
You must be signed in to change notification settings - Fork 351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: RTX 4080 - crash while loading Vulkan #886
Comments
What is the error? |
Hi, it is the same error, as described in issue #887 (opened just after mine report): ggml_vulkan: Found 1 Vulkan devices: at LLama.Native.SafeLlamaModelHandle.llama_load_model_from_file(System.String, LLama.Native.LLamaModelParams) at LLama.Native.SafeLlamaModelHandle.LoadFromFile(System.String, LLama.Native.LLamaModelParams) |
Seems like this is a llama.cpp issue, not a LLamaSharp issue. Not sure why installing CUDA impacts it, though. Are you sure it was not a coincidence? It seems like the native library loader is correctly selecting the Vulkan backend and it's throwing an error on the llama.cpp side. |
ah yes..I submitted an issue on llama.cpp after testing their binaries a few days ago, looks like upstream issue, I thought it was just problem with AMD but it looks like a general issue with the Vulkan backend |
It may be that the installation of CUDA fixed it, because then CUDA is selected first and Vulkan is never touched. By the way, it fixes it only, if also the CUDA driver by Nvidia has been installed, otherwise CUDA is skipped and Vulkan is the next try. Seems reasonable... |
I had this issue using Vulkan as well. I don't have GPU on that device but it would always crash. Randomly, setting the GPULayer count = 1 got it running for me. |
it's problem of driver crash during device initialization, some external program get's hooked to vulkan driver, in my case it was Mirillis's Action! game recorder, after uninstalling it everything ran fine, return to my llama.cpp issue user 0cc4m guided me to fix |
Description
System: Win 11, RTX 4080 with abolute latest Nvidia driver
This error is gone, once CUDA is installed from the Nvidia site, but I wanted to use Vulkan, since this does not require to install additional drivers from Nvidia (in theory).
Reproduction Steps
See above.
Code:
Environment & Configuration
See description...
Known Workarounds
Install Cuda
The text was updated successfully, but these errors were encountered: