]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
vulkan: Throttle the number of shader compiles during the build step. (llama/10222)
authorJeff Bolz <redacted>
Mon, 11 Nov 2024 17:13:51 +0000 (11:13 -0600)
committerGeorgi Gerganov <redacted>
Fri, 15 Nov 2024 13:21:04 +0000 (15:21 +0200)
commitb54ce5edc5125da1e4ce8050dbb86330d7b0f9b6
treebf8f571f1f01e15812b647d9af687d4b932ea2c4
parent26a31b78e91c3bfba63a0b736a91ba3154bea545
vulkan: Throttle the number of shader compiles during the build step. (llama/10222)

Fixes #9582

Spawning too many concurrent copies of glslc leads to "Failed to create pipes"
errors on Linux. This change applies the same throttling we use for
multithreaded pipeline creation.
ggml/src/vulkan-shaders/vulkan-shaders-gen.cpp