mirror of
https://github.com/mw00/project-maya.git
synced 2026-12-03 21:08:26 +07:00
[PR #596] CPU lane: EXL3 rows on an AVX-512 VNNI tier (bit for bit), +5-31% on Ice Lake-SP #616
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mw00/project-maya#616
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mw00/project-maya/pull/596
Author: @sbleschke
Created: 10/28/2026
Status: 🔄 Open
Base:
main← Head:avx512-vnni📝 Commits (1)
ecdfcb5CPU lane: EXL3 rows on an AVX-512 VNNI tier (bit for bit), +5-31% on Ice Lake-SP📊 Changes
5 files changed (+396 additions, -334 deletions)
View changed files
📝
include/strata/kernels/cpu/exl3_cpu.hpp(+1 -1)📝
src/kernels/cpu/exl3_cpu.cpp(+101 -324)➕
src/kernels/cpu/exl3_cpu_avx512.inc(+283 -0)📝
src/kernels/cpu/exl3_cpu_bench.cpp(+5 -5)📝
tests/exl3_test.cu(+6 -4)📄 Description
CPU lane: EXL3 rows on an AVX-512 VNNI tier (bit for bit), +5-31% on Ice Lake-SP
A new tier 3,
cpu_avx512_vnni, covers Ice Lake and later Xeons and Zen 4 and later, but not Skylake-SP. It runs the existing AVX-512 EXL3 kernels and takes the byte sums with_mm512_dpbusd_epi32instead of the BW multiply-add chain.src/kernels/cpu/exl3_cpu_avx512.inc, which is compiled twice (namespacesavx512andvnni). Each copy gets its target attribute and byte-sum macro, so both tiers share one source.STRATA_FORCE_AVX2=1still forces AVX2. No new settings.exl3_cpu_band_acc_onandexl3_cpu_bench --tiersknow about tier 3.tests/exl3_test.curuns the exact checks on the VNNI tier as well.Output
Bit for bit. The VNNI tier gives the same results as the AVX-512 tier (and the model):
Measurements
Xeon Gold 6314U (Ice Lake-SP, 32C/64T),
exl3_cpu_bench --K 3,4 --threads 1,8,64 --tokens 1 --tiers 2,3 --pin, same binary, tier 2 (AVX-512) against tier 3 (VNNI):Scope
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.