]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
vulkan: 64-bit im2col (llama/16135)
authorJeff Bolz <redacted>
Sun, 28 Sep 2025 06:38:37 +0000 (01:38 -0500)
committerGeorgi Gerganov <redacted>
Mon, 29 Sep 2025 12:18:12 +0000 (15:18 +0300)
commit55d45edf6d82b6e26ff09442bc427f8611725c9e
tree6e6c520532a53011dcf429c5a5c88b65f97af87e
parent0102733cca667477b30cc5208135d4ec13518d23
vulkan: 64-bit im2col (llama/16135)

* vulkan: 64-bit im2col

Add variants of the im2col shaders that use buffer_device_address/buffer_reference,
and use 64-bit address calculations. This is needed for large convolutions used in
stable-diffusion.cpp.

* fix validation error for large im2col
ggml/src/ggml-vulkan/ggml-vulkan.cpp
ggml/src/ggml-vulkan/vulkan-shaders/im2col.comp
ggml/src/ggml-vulkan/vulkan-shaders/im2col_3d.comp
ggml/src/ggml-vulkan/vulkan-shaders/types.comp
ggml/src/ggml-vulkan/vulkan-shaders/vulkan-shaders-gen.cpp