Skip to content

Faster CPU prompt processing for Trellis quants and MoE models#488

Merged
ikawrakow merged 2 commits into
mainfrom
ik/dequant_moe_gemm
Jun 5, 2025
Merged

Faster CPU prompt processing for Trellis quants and MoE models#488
ikawrakow merged 2 commits into
mainfrom
ik/dequant_moe_gemm

Conversation

@ikawrakow

Copy link
Copy Markdown
Owner

This PR is a follow up to #482, and applies the same dequantizing GEMM for MoE matrix multiplications.

For a DeepSeek-Lite model where only the ffn_up and ffn_gate tensors are quantized with IQ2_KT I observe a ~35% improvement in PP performance compared to te main branch.

@ikawrakow
ikawrakow merged commit 0b10f74 into main Jun 5, 2025
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