Skip to content

fix: Bump GGML to fix broken quantized matmul on Vulkan#27

Open
richiejp wants to merge 1 commit into
predict-woo:mainfrom
richiejp:bump-ggml-vulkan-mmvq
Open

fix: Bump GGML to fix broken quantized matmul on Vulkan#27
richiejp wants to merge 1 commit into
predict-woo:mainfrom
richiejp:bump-ggml-vulkan-mmvq

Conversation

@richiejp

Copy link
Copy Markdown

This fixes a "broken-record" bug on my Intel A770 simply by updating GGML.

Also it adds a Nix flake which I use to compile the project. I can remove it
if you don't want a Nix dev env adding.


Updates the ggml submodule from 5cecdad (2026-02-07) to ggml master
3af5f576 (2026-06-12, v0.15.1). The old ggml's Vulkan quantized mat-vec
(MMVQ / integer-dot path) returns wrong results on Intel Arc/ANV, which
shows up as garbage/"broken record" TTS output for quantized models. The
newer ggml fixes the MMVQ correctness on ANV: test-backend-ops MUL_MAT now
passes all quantized types (q4_0/q4_1/q4_K/q5_0/q5_1/q5_K/q8_0, incl. n=1
mat-vec) on an A770 against the CPU reference.

qwen3-tts.cpp compiles cleanly against the new ggml (no API drift) and the
CLI runs.

flake.nix adds a dev shell (cmake, ninja, vulkan-loader/headers, shaderc,
glslang) so the CPU+Vulkan build has all deps.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

Updates the ggml submodule from 5cecdad (2026-02-07) to ggml master
3af5f576 (2026-06-12, v0.15.1). The old ggml's Vulkan quantized mat-vec
(MMVQ / integer-dot path) returns wrong results on Intel Arc/ANV, which
shows up as garbage/"broken record" TTS output for quantized models. The
newer ggml fixes the MMVQ correctness on ANV: test-backend-ops MUL_MAT now
passes all quantized types (q4_0/q4_1/q4_K/q5_0/q5_1/q5_K/q8_0, incl. n=1
mat-vec) on an A770 against the CPU reference.

qwen3-tts.cpp compiles cleanly against the new ggml (no API drift) and the
CLI runs.

flake.nix adds a dev shell (cmake, ninja, vulkan-loader/headers, shaderc,
glslang) so the CPU+Vulkan build has all deps.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@richiejp

Copy link
Copy Markdown
Author

Ping @predict-woo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant