Skip to content

Instantly share code, notes, and snippets.

View Li-Lee's full-sized avatar

Li Li-Lee

  • United States
  • 02:15 (UTC -05:00)
View GitHub Profile
@Li-Lee
Li-Lee / README.md
Last active November 18, 2026 13:19
Harness for oMLX PR: skinny tensor-unit kernel for 9-48-row packed Qwen projections on M5

Harness for the oMLX packed skinny-kernel PR

Scripts behind the numbers in the PR "perf(qwen35-packed): skinny tensor-unit kernel for 9-48-row projections on M5". They run against an oMLX checkout of the PR branch (perf/m5-nax-skinny-verify) and its venv, on an M5 GPU. "main" is measured in the same checkout with the change reverted (the A/B script stashes it), so both sides share one venv.

File What it measures
tune_split.py Kernel timings: main's packed GEMM vs the skinny kernel at each K split, 9–64 rows, Qwen3.8-27B and Qwen3.5-4B group shapes. python tune_split.py out.json