Skip to content

add q8_0 data type direct fp32 activation support - #142

Merged
jimw567 merged 1 commit into
gfx11from
feat/annier.dq_q8_0
Oct 14, 2026
Merged

jimw567 merged 1 commit into
gfx11from
feat/annier.dq_q8_0

Conversation

@Annieren

@Annieren Annieren commented Oct 13, 2026 •

Copy link
Copy Markdown

Overview

Add Q8_0 data type direct fp32 activation support.

Additional information

  1. Performance improved for Q8_0 models, or the Q8_0 as output models.
model test original-baseline this branch Δ (B/A)
Cosmos-Reason2-8B.Q8_0 tg128 26.76 26.93 +0.6%
Qwen2.5-0.5B-Instruct-Q4_K_M tg128 351.17 353.60 +0.7%
SmolVLM-500M-Instruct-Q8_0 tg128 310.65 348.00 +12%
gemma-4-26B-A4B-it-UD-Q4_K_M tg128 48.45 49.21 +1.6%
  1. No change on prefill (within noise level).
  2. PPL agreed within +/- 0.1% comparing to previous version

Requirements

Yes, test and documentation

Comment thread ggml/src/ggml-cuda/vecdotdq.cuh Resolved
Comment thread tests/test-backend-ops.cpp Resolved

@jimw567 jimw567 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@jimw567
jimw567 merged commit 7329473 into gfx11 Oct 14, 2026
8 of 9 checks passed
@jimw567
jimw567 deleted the feat/annier.dq_q8_0 branch October 14, 2026 22:21
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.

2 participants