Skip to content

graph : fix graph reuse logic when n_pos_per_embd > 1 - #18566

Merged
ggerganov merged 1 commit into
masterfrom
gg/models-fix-qwen3-vl-graph-reuse
Jan 3, 2026
Merged

graph : fix graph reuse logic when n_pos_per_embd > 1#18566
ggerganov merged 1 commit into
masterfrom
gg/models-fix-qwen3-vl-graph-reuse

Conversation

@ggerganov

Copy link
Copy Markdown
Member

cont #14482

Improves performance for models such as Qwen3 VL

Model Test t/s master t/s gg/models-fix-qwen3-vl-graph-reuse Speedup
qwen3vlmoe 30B.A3B Q8_0 pp512 2137.88 2159.40 1.01
qwen3vlmoe 30B.A3B Q8_0 pp2048 2440.65 2453.89 1.01
qwen3vlmoe 30B.A3B Q8_0 tg32 76.53 81.36 1.06

@jeffbolznv

Copy link
Copy Markdown
Contributor

This fixes #18191 (thanks!). I see about an 18% speedup with GLM-4.6V-Flash-Q4_K_M.gguf.

@ggerganov
ggerganov merged commit c69c7eb into master Jan 3, 2026
71 checks passed
@ggerganov
ggerganov deleted the gg/models-fix-qwen3-vl-graph-reuse branch January 3, 2026 21:59
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
ljubomirj pushed a commit to ljubomirj/llama.cpp that referenced this pull request May 6, 2026
my-other-github-account pushed a commit to my-other-github-account/llama.cpp that referenced this pull request May 15, 2026
my-other-github-account pushed a commit to my-other-github-account/llama.cpp that referenced this pull request May 15, 2026
phibya pushed a commit to ziee-ai/llama.cpp that referenced this pull request May 29, 2026
fewtarius pushed a commit to fewtarius/CachyLLama that referenced this pull request May 30, 2026
fukuro-kun pushed a commit to fukuro-kun/fukuro-llama-cpp-turboquant that referenced this pull request Jul 5, 2026
MrLordCat referenced this pull request in MrLordCat/llama.cpp-with-GUI Jul 16, 2026
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.

3 participants