]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
vulkan: fix GPU deduplication logic. (llama/19222)
authorOleksandr Kuvshynov <redacted>
Thu, 5 Feb 2026 08:06:59 +0000 (03:06 -0500)
committerGeorgi Gerganov <redacted>
Sat, 7 Feb 2026 08:37:38 +0000 (10:37 +0200)
commit8f522494242c5d8f3f98357df6e43add72387c37
tree82179c3413a81b2de4d562635b01dd73ff0f16b3
parent04a7b89c097c7a98b4eb4239ba10a2f76387ed2a
vulkan: fix GPU deduplication logic. (llama/19222)

* vulkan: fix GPU deduplication logic.

As reported in https://github.com/ggml-org/llama.cpp/issues/19221, the
(same uuid, same driver) logic is problematic for windows+intel igpu.

Let's just avoid filtering for MoltenVK which is apple-specific, and
keep the logic the  same as before 88d23ad5 - just dedup based on UUID.

Verified that MacOS + 4xVega still reports 4 GPUs with this version.

* vulkan: only skip dedup when both drivers are moltenVk
src/ggml-vulkan/ggml-vulkan.cpp