Running Llama using VULKAN on an Arm Mali-G78AE GPU, the program hangs while waiting for a fence until it terminates after throwing an instance of 'vk::DeviceLostError'. #8292
Unanswered
warren-lei
asked this question in
Q&A
Replies: 1 comment 1 reply
-
That exception is the generic "something failed in the driver" error. In this case it probably means that the big block of pre-recorded GPU commands was too much for the hardware/software for whatever reason, so it crashed. This seems to be a common problem with phone GPUs, not sure how to work around it. Maybe someone experienced in mobile game development has some experience with this? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The project is built with aarch64-linux-gcc (GCC) 8.3.0 for aarch64 linux.
The command to run llama:
./llama-cli -m ggml-model-q4_k.gguf -c 512 -b 1024 -n 256 --keep 48 --repeat_penalty 1.0 --color -i -r "User:" -f chat-with-bob.txt -ngl 3
This exception occurs in function
ggml_vk_compute_forward
atctx->device->device.waitForFences
:Beta Was this translation helpful? Give feedback.
All reactions