]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
Vulkan: Add DP4A MMQ and Q8_1 quantization shader (llama/12135)
author0cc4m <redacted>
Mon, 31 Mar 2025 12:37:01 +0000 (14:37 +0200)
committerGeorgi Gerganov <redacted>
Wed, 2 Apr 2025 12:13:02 +0000 (15:13 +0300)
commit930dae5a11e5df76b066cd3e1e8ad1e8596a0899
treeb01af4e7505bd328d10a8cd665b65ee7d6a4a0ee
parent99291ab99989ca90467ba0fd5e02dd14f4c07135
Vulkan: Add DP4A MMQ and Q8_1 quantization shader (llama/12135)

* Vulkan: Add DP4A MMQ and Q8_1 quantization shader

* Add q4_0 x q8_1 matrix matrix multiplication support

* Vulkan: Add int8 coopmat MMQ support

* Vulkan: Add q4_1, q5_0 and q5_1 quants, improve integer dot code

* Add GL_EXT_integer_dot_product check

* Remove ggml changes, fix mmq pipeline picker

* Remove ggml changes, restore Intel coopmat behaviour

* Fix glsl compile attempt when integer vec dot is not supported

* Remove redundant code, use non-saturating integer dot, enable all matmul sizes for mmq

* Remove redundant comment

* Fix integer dot check

* Fix compile issue with unsupported int dot glslc

* Update Windows build Vulkan SDK version
src/ggml-vulkan/CMakeLists.txt
src/ggml-vulkan/ggml-vulkan.cpp
src/ggml-vulkan/vulkan-shaders/mul_mm.comp
src/ggml-vulkan/vulkan-shaders/mul_mmq.comp [new file with mode: 0644]
src/ggml-vulkan/vulkan-shaders/mul_mmq_funcs.comp [new file with mode: 0644]
src/ggml-vulkan/vulkan-shaders/quantize_q8_1.comp [new file with mode: 0644]
src/ggml-vulkan/vulkan-shaders/test_integer_dot_support.comp [new file with mode: 0644]
src/ggml-vulkan/vulkan-shaders/types.comp
src/ggml-vulkan/vulkan-shaders/vulkan-shaders-gen.cpp