Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Small and medium teams
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Layr-Labs
mlx
Repository navigation
Code
Pull requests
15
(15)
Actions
Projects
Security and quality
Insights
More
items
Gemma 4: D512 two-pass SDPA + GQA dedup kernels
- #13
#13
Open
davidtai
wants to merge 13 commits into
main
Layr-Labs/mlx:main
from
feat/gemma4-mlx-perf-stack
Layr-Labs/mlx:feat/gemma4-mlx-perf-stack
Copy head branch name
Conversation
Commits
13
(13)
Checks
Files changed
Open
Gemma 4: D512 two-pass SDPA + GQA dedup kernels
#13
davidtai
wants to merge 13 commits into
main
Layr-Labs/mlx:main
from
feat/gemma4-mlx-perf-stack
Layr-Labs/mlx:feat/gemma4-mlx-perf-stack
Copy head branch name
Commits
Commits on Sep 3, 2026
perf(metal): unroll the fixed-trip loops in softmax and SDPA-vector
Show description for 7391caf
davidtai
and
claude
committed
7391caf
View commit details
Copy full SHA for 7391caf
Browse repository at this point
perf(metal): synthesize the composed-prefill causal bias in the steel fused GEMM epilogues
Show description for e2f1d5e
davidtai
and
claude
committed
e2f1d5e
View commit details
Copy full SHA for e2f1d5e
Browse repository at this point
perf(metal): fragment-row segment elision for the NAX gather-QMM RHS kernel
Show description for 201aa99
davidtai
and
claude
committed
201aa99
View commit details
Copy full SHA for 201aa99
Browse repository at this point
perf(metal): the Gemma 4 affine-quantized QMV tier family in quantized.h
Show description for f76fb7e
davidtai
and
claude
committed
f76fb7e
View commit details
Copy full SHA for f76fb7e
Browse repository at this point
perf(metal): a D=512 two-pass vector SDPA cell for Gemma 4 decode
Show description for af74c88
davidtai
and
claude
committed
af74c88
View commit details
Copy full SHA for af74c88
Browse repository at this point
Commits on Sep 4, 2026
fix(metal): fit the D512 dedup merge plane inside the 32 KB threadgroup limit
Show description for bb794a7
davidtai
and
claude
committed
bb794a7
View commit details
Copy full SHA for bb794a7
Browse repository at this point
Commits on Oct 5, 2026
Merge main into feat/gemma4-mlx-perf-stack
Show description for f7f5c9d
davidtai
and
claude
committed
f7f5c9d
View commit details
Copy full SHA for f7f5c9d
Browse repository at this point
fix(metal): name the D512 2-pass kernel as the host builds it
Show description for eb01609
davidtai
and
claude
committed
eb01609
View commit details
Copy full SHA for eb01609
Browse repository at this point
docs(forkdiff): describe the Gemma 4 kernel work in fork.yaml
Show description for 9e239f9
davidtai
and
claude
committed
9e239f9
View commit details
Copy full SHA for 9e239f9
Browse repository at this point
refactor: shorten the D512 comment and tidy the head-dim 512 tests
Show description for e3905de
davidtai
and
claude
committed
e3905de
View commit details
Copy full SHA for e3905de
Browse repository at this point
fix(metal): sum the QMV bias run in float, as load_vector does since #15
Show description for e602e61
davidtai
and
claude
committed
e602e61
View commit details
Copy full SHA for e602e61
Browse repository at this point
Commits on Oct 6, 2026
style: clang-format the Metal kernel and SDPA files (pre-commit v21.1.8)
Show description for 7258592
davidtai
and
claude
committed
7258592
View commit details
Copy full SHA for 7258592
Browse repository at this point
Merge mlx main (cb77239be) into feat/gemma4-mlx-perf-stack
Show description for ac97252
davidtai
and
claude
committed
ac97252
View commit details
Copy full SHA for ac97252
Browse repository at this point
You can’t perform that action at this time.