Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
ggml-org
/
llama.cpp
Public
Notifications
You must be signed in to change notification settings
Fork
22.9k
Star
127k
Code
Issues
908
Pull requests
1.6k
Discussions
Actions
Projects
Wiki
Security and quality
13
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Speculative prefill
- #27692
#27692
Open
kilofox
wants to merge 22 commits into
ggml-org:master
ggml-org/llama.cpp:master
from
kilofox:spec-prefill
kilofox/llama.cpp:spec-prefill
Copy head branch name to clipboard
Conversation
Commits
22
(22)
Checks
Files changed
Open
Speculative prefill
#27692
kilofox
wants to merge 22 commits into
ggml-org:master
ggml-org/llama.cpp:master
from
kilofox:spec-prefill
kilofox/llama.cpp:spec-prefill
Copy head branch name to clipboard
Commits
Commits on Aug 24, 2026
speculative-prefill : implement token importance estimation and sparse prefill
Show description for a1f3ad0
kilofox
committed
a1f3ad0
View commit details
Copy full SHA for a1f3ad0
Browse repository at this point
speculative-prefill : conform to contributing style guidelines
Show description for 490ce1f
kilofox
committed
490ce1f
View commit details
Copy full SHA for 490ce1f
Browse repository at this point
speculative-prefill : add dedicated draft model parameters
Show description for 061a3b5
kilofox
committed
061a3b5
View commit details
Copy full SHA for 061a3b5
Browse repository at this point
llama-bench : add speculative prefill benchmarking support
Show description for ee7f301
kilofox
committed
ee7f301
View commit details
Copy full SHA for ee7f301
Browse repository at this point
Commits on Aug 25, 2026
scripts : add speculative prefill stress and evaluation scripts
Show description for 96be5de
kilofox
committed
96be5de
View commit details
Copy full SHA for 96be5de
Browse repository at this point
speculative-prefill : add dedicated draft device parameter
Show description for b3173fc
kilofox
committed
b3173fc
View commit details
Copy full SHA for b3173fc
Browse repository at this point
speculative-prefill : wire sparse prefill into server and CLI
kilofox
committed
4db32fa
View commit details
Copy full SHA for 4db32fa
Browse repository at this point
speculative-prefill : fix attention capture, RoPE positions, and draft reuse
Show description for dd7c7e2
kilofox
committed
dd7c7e2
View commit details
Copy full SHA for dd7c7e2
Browse repository at this point
server : fix prompt throughput calculation for speculative prefill
Show description for 57b8386
kilofox
committed
57b8386
View commit details
Copy full SHA for 57b8386
Browse repository at this point
server : allow speculative prefill on text prompts when mmproj is loaded
Show description for c4f085a
kilofox
committed
c4f085a
View commit details
Copy full SHA for c4f085a
Browse repository at this point
server : use contiguous positions for speculative prefill tokens
Show description for e3c4aac
kilofox
committed
e3c4aac
View commit details
Copy full SHA for e3c4aac
Browse repository at this point
server : scale intermediate prompt progress throughput for speculative prefill
Show description for 027adea
kilofox
committed
027adea
View commit details
Copy full SHA for 027adea
Browse repository at this point
speculative-prefill : align server RoPE positions and set greedy lookahead in CLI
Show description for 2973ac3
kilofox
committed
2973ac3
View commit details
Copy full SHA for 2973ac3
Browse repository at this point
Commits on Aug 26, 2026
speculative-prefill : use contiguous positions and disable for recurrent/hybrid and DFlash/DSpark
Show description for cc93505
kilofox
committed
cc93505
View commit details
Copy full SHA for cc93505
Browse repository at this point
speculative-prefill : allow hybrid models, keep gate for recurrent only
Show description for 284a787
kilofox
committed
284a787
View commit details
Copy full SHA for 284a787
Browse repository at this point
Commits on Aug 27, 2026
Merge remote-tracking branch 'upstream/master' into spec-prefill
kilofox
committed
29b0fd3
View commit details
Copy full SHA for 29b0fd3
Browse repository at this point
Commits on Aug 28, 2026
server : clear speculative prefill draft context KV on slot release
Show description for c0edaa2
kilofox
committed
c0edaa2
View commit details
Copy full SHA for c0edaa2
Browse repository at this point
Merge remote-tracking branch 'upstream/master' into spec-prefill-dflash2
kilofox
committed
80a9f47
View commit details
Copy full SHA for 80a9f47
Browse repository at this point
server : fix speculative prefill with dflash2 and target-dependent draft models
Show description for ea8fc46
kilofox
committed
ea8fc46
View commit details
Copy full SHA for ea8fc46
Browse repository at this point
Commits on Aug 29, 2026
speculative-prefill : add max context option for draft model
Show description for 47c24ae
kilofox
committed
47c24ae
View commit details
Copy full SHA for 47c24ae
Browse repository at this point
Merge remote-tracking branch 'upstream/master' into spec-prefill
Show description for 0411a04
kilofox
committed
0411a04
View commit details
Copy full SHA for 0411a04
Browse repository at this point
Commits on Sep 1, 2026
speculative-prefill : clamp default draft context to training limit
Show description for 79acc58
kilofox
committed
79acc58
View commit details
Copy full SHA for 79acc58
Browse repository at this point
You can’t perform that action at this time.