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-swift-lm
Repository navigation
Code
Issues
9
(9)
Pull requests
114
(114)
Actions
Projects
Security and quality
Insights
More
items
perf: MTP verify cycle optimizations (lossless compact categorical sampling)
- #15
#15
Merged
0xClandestine
merged 11 commits into
mtp-support
Layr-Labs/mlx-swift-lm:mtp-support
from
mtp-support-perf
Layr-Labs/mlx-swift-lm:mtp-support-perf
Copy head branch name
May 10, 2026
Conversation
Commits
11
(11)
Checks
Files changed
Merged
perf: MTP verify cycle optimizations (lossless compact categorical sampling)
#15
0xClandestine
merged 11 commits into
mtp-support
Layr-Labs/mlx-swift-lm:mtp-support
from
mtp-support-perf
Layr-Labs/mlx-swift-lm:mtp-support-perf
Copy head branch name
Commits
Commits on May 9, 2026
feat: fused gate+up+SwiGLU and small-M qmm kernels for MTP verify forward
Show description for 0459dd2
0xClandestine
committed
0459dd2
View commit details
Copy full SHA for 0459dd2
Browse repository at this point
fix: pass M/K/N as 1D arrays to metalKernel to avoid pointer-cast garbage
0xClandestine
committed
df68ae8
View commit details
Copy full SHA for df68ae8
Browse repository at this point
fix: exclude M=1 from fused kernel path (stock qmv faster for single-token decode)
0xClandestine
committed
b4198d1
View commit details
Copy full SHA for b4198d1
Browse repository at this point
bench: disable fused kernels (regression on M4 Max); add MTP accept-rate logging
0xClandestine
committed
2839036
View commit details
Copy full SHA for 2839036
Browse repository at this point
fix: pass pre-norm hidden to MTP head (fixes double-normalization)
Show description for 574b4ae
0xClandestine
committed
574b4ae
View commit details
Copy full SHA for 574b4ae
Browse repository at this point
perf: MTP greedy draft + persistent cache + timing stats
Show description for 58e46dc
0xClandestine
committed
58e46dc
View commit details
Copy full SHA for 58e46dc
Browse repository at this point
perf: compact categorical sampling in MTP verify cycle
Show description for c6e7df2
0xClandestine
committed
c6e7df2
View commit details
Copy full SHA for c6e7df2
Browse repository at this point
fix: use compactCategorical for MTP draft token (lossless speculative decoding)
Show description for d6489e3
0xClandestine
committed
d6489e3
View commit details
Copy full SHA for d6489e3
Browse repository at this point
Commits on May 10, 2026
bench: add plugged-in 5-run benchmark results (full optimization stack)
0xClandestine
committed
7f4dba9
View commit details
Copy full SHA for 7f4dba9
Browse repository at this point
bench: full 5-run lossless benchmark (commit d6489e3, all 4 models)
0xClandestine
committed
d51ee99
View commit details
Copy full SHA for d51ee99
Browse repository at this point
chore: remove disabled fused MLP kernels (regression on M4 Max)
0xClandestine
committed
bc9682b
View commit details
Copy full SHA for bc9682b
Browse repository at this point
You can’t perform that action at this time.