-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Vulkan related question: what's the different between server and cli? #11099
Comments
I built glslang/ from source, rebuild the llama.cpp, server still core dumped. |
Not related but for android, openblas is much faster than vulkan. |
Regarding glslangValidator, I'm not sure if that is necessary. The only requirement as far as the CMake package is concerned is
I'm not familiar with Termux but the first thought coming to mind is that Using Android and backend processes have to have RPC mechanism for example when switching between apps. Not sure if this helps but here's some info on Intents and Services. I would imagine that |
I totally agree your ideas. Me either no familiar with termux, just got an android, and the ram is 12gb, but big but enough, so I decided to play it! About stable diffusion, I fixed it by remove glfw package. ( Also the glslang), and it functioning. So I think things is complicated especially I cannot got the android vulkan icd file without root... In the end, I have to say openblas is destined for weak arm device! |
Another possibility is the new OpenCL backend. I'm not sure if it currently supports this use-case, but OpenCL being older than Vulkan typically can have somewhat better interoperability. |
I don't know why server and cli would behave differently. DeviceLost errors usually mean either a timeout (hang, or just too much work) or GPU exception. Please share info about what GPU/driver you're using. Please also try running test-backend-ops to see if your setup passes directed tests. |
It's mail G57 About new clblase, haven't try yet, but openblas allow my phone to do whatever else since it only use cpu. Also , only half speed (his top end device) of openblas ( my 4* A76 + 4* A55)
|
And the log for the test. ABS NEG STEP ...etc The log is huge, I uploaded in filebin... Link is below. |
Rebuild with OpenBLAS show the following.
|
Today I built llama.cpp and stsble-diffusion cpp in vulkan (termux) all building steps pass.
However, only llama-cli functioning well with ngl whatever, the llama-server and #stsble-diffusion.cpp both result
core dumped
Mesnwhil I found, in complying process, I missed glslangvalidator.
The server dumped
The llama-cli works well.
Stsble-diffusion.cpp also dumped
Thus.... Anyone has any clue?
The text was updated successfully, but these errors were encountered: