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
{{ message }}
Repository navigation
Eval bug: ggml-vulkan crash with vulkan 1.0 #29871
I'm using ggml (from master, circa v0.25.3) in my own software.
ggml-vulcan requires Vulkan 1.2. To enforce this it calls (indirectly, via some templates) the vkEnumerateInstanceVersion function pointer from the Vulkan implementation and compares it to the constant for Vulkan 1.2.
Unfortunately, vkEnumerateInstanceVersion was only added at Vulkan 1.1 and ggml-vulkan is calling it unconditionally.
I have a CL that add a quick null check before the call. If that function is null then it's Vulkan 1.0 and we can throw an exception, like we do if vkEnumerateInstanceVersion returns Vulkan 1.1.
I encountered this on older Android devices.
Operating systems
Other? (Please let us know in description)
GGML backends
Vulkan
Hardware
Fujitsu F-01L (Android 8.1) in Firebase Test Lab
Models
n/a - this is in library/backend initialization.
Problem description & steps to reproduce
Just initializing the ggml-vulkan backend on a system with an older version of Vulkan.
Activity
vulkan : check for null vkEnumerateInstanceVersion (ggml-org#29872)
vulkan : check for null vkEnumerateInstanceVersion (ggml-org#29872)
vulkan : check for null vkEnumerateInstanceVersion (ggml-org#29872)
vulkan : check for null vkEnumerateInstanceVersion (ggml-org#29872)