[PR #706] [CLOSED] Feat/q2 avx2 bitplane #2777

Closed
opened 2026-11-04 02:03:02 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/706
Author: @merbanan
Created: 10/4/2026
Status: ❌ Closed

Base: main ← Head: feat/q2-avx2-bitplane


📝 Commits (2)

  • 691bb39 cpu: bit-plane AVX2 Q2_0 row kernel
  • dfeded6 cpu: Q2_0 bit-plane rows reduced four at a time

📊 Changes

2 files changed (+154 additions, -2 deletions)

View changed files

📝 include/strata/kernels/cpu/expert.hpp (+11 -0)
📝 src/kernels/cpu/q2_avx2.cpp (+143 -2)

📄 Description

A new AVX2 row kernel for Q2_0 experts on CPUs without AVX-512, the default path in q2_0_gguf_rows_multi_avx2.

Single thread, weights in L2: 2.3–2.8× faster at every token count from 1 to 4.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/706 **Author:** [@merbanan](https://github.com/merbanan) **Created:** 10/4/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/q2-avx2-bitplane` --- ### 📝 Commits (2) - [`691bb39`](https://github.com/Niko1221/Strata/commit/691bb39f76d5eecfebe323e683ed9dc36e91154f) cpu: bit-plane AVX2 Q2_0 row kernel - [`dfeded6`](https://github.com/Niko1221/Strata/commit/dfeded6d01187da370dfe74d813f9fcb77acc97d) cpu: Q2_0 bit-plane rows reduced four at a time ### 📊 Changes **2 files changed** (+154 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `include/strata/kernels/cpu/expert.hpp` (+11 -0) 📝 `src/kernels/cpu/q2_avx2.cpp` (+143 -2) </details> ### 📄 Description A new AVX2 row kernel for Q2_0 experts on CPUs without AVX-512, the default path in `q2_0_gguf_rows_multi_avx2`. **Single thread, weights in L2:** 2.3–2.8× faster at every token count from 1 to 4. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-04 02:03:02 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#2777
No description provided.