Skip to content

opencl: add multi token f32 GEMV for spec verify - #33098

Merged
lhez merged 2 commits into
ggml-org:masterfrom
qualcomm:lh/gemv-mc-f32-f32
Nov 26, 2026
Merged

lhez merged 2 commits into
ggml-org:masterfrom
qualcomm:lh/gemv-mc-f32-f32

Conversation

@lhez

@lhez lhez commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Overview

This PR adds f32 multi column GEMV for spec verification.

Additional information

Details

gemma-4-E4B-it-Q4_K_M

with --spec-draft-n-max 7,

master

I encoded 32099 tokens in   35.385 seconds, speed:  907.127 t/s
I decoded  261 tokens in    7.919 seconds, speed:   32.959 t/s
I
I n_draft   = 7
I n_predict = 261
I n_drafted = 465
I n_accept  = 194
I accept    = 41.720%

PR

I encoded 32099 tokens in   34.708 seconds, speed:  924.818 t/s
I decoded  261 tokens in    7.614 seconds, speed:   34.280 t/s
I
I n_draft   = 7
I n_predict = 261
I n_drafted = 465
I n_accept  = 194
I accept    = 41.720%

Requirements

@github-actions github-actions Bot added ggml changes relating to the ggml tensor library for machine learning OpenCL Issues specific to the OpenCL backend labels Nov 26, 2026
@lhez
lhez marked this pull request as ready for review November 26, 2026 19:37
@lhez
lhez requested a review from a team as a code owner November 26, 2026 19:37
@lhez

lhez commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

@max-krasnyansky @wanghqc please review/ack when you get a chance

@lhez
lhez merged commit 9fa7a33 into ggml-org:master Nov 26, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ggml changes relating to the ggml tensor library for machine learning OpenCL Issues specific to the OpenCL backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants