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
Team
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 }}
SashaMIT
llama-cpp-python
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
llama-cpp-python
llama_cpp
llama.py
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Aug 10, 2026
feat: update llama.cpp to 936918514 (#2348)
Show description for 67014fd
abetlen
authored
67014fd
View commit details
Copy full SHA for 67014fd
View code at this point
Browse repository at this point
Commits on Jun 22, 2026
fix: preserve recurrent/hybrid model state when the full prompt is already cached (#2306)
Show description for 9be3cd1
allthatido
and
Ankur Kaul
authored
9be3cd1
View commit details
Copy full SHA for 9be3cd1
View code at this point
Browse repository at this point
Commits on Jun 2, 2026
fix: handle additional `from_pretrained` files in subfolders (#2085)
Show description for d185d64
TNing
and
abetlen
authored
d185d64
View commit details
Copy full SHA for d185d64
View code at this point
Browse repository at this point
Commits on Jun 1, 2026
fix: clear prompt for recurrent / hybrid models when only a partial prefix matches (#2108)
Show description for cdb7a75
avion23
and
Ralf Waldukat
authored
cdb7a75
View commit details
Copy full SHA for cdb7a75
View code at this point
Browse repository at this point
Commits on May 13, 2026
fix(embedding): set kv_unified=True when embedding=True to enable batch processing (#2217)
Show description for 95ccb19
SanjanaB123
and
abetlen
authored
95ccb19
View commit details
Copy full SHA for 95ccb19
View code at this point
Browse repository at this point
Commits on May 11, 2026
fix(embed): mark all tokens as output to suppress llama.cpp 'overriding' INFO (#2208) (#2212)
Anai-Guo
authored
f8c1f36
View commit details
Copy full SHA for f8c1f36
View code at this point
Browse repository at this point
Commits on May 8, 2026
fix: configure n_seq_max for batched embeddings (#2206)
Show description for 128c331
abetlen
authored
128c331
View commit details
Copy full SHA for 128c331
View code at this point
Browse repository at this point
Commits on Apr 3, 2026
fix(misc): replace deprecated llama.cpp references (#2170)
Show description for 08e088c
abetlen
authored
08e088c
View commit details
Copy full SHA for 08e088c
View code at this point
Browse repository at this point
Commits on Mar 24, 2026
feat: expose attention_type parameter in Llama.__init__ (#2143)
Show description for 7b38c31
3 people
authored
7b38c31
View commit details
Copy full SHA for 7b38c31
View code at this point
Browse repository at this point
Commits on Mar 23, 2026
fix: Qwen 3.5 support (#2152)
Show description for 11e7a55
abetlen
authored
11e7a55
View commit details
Copy full SHA for 11e7a55
View code at this point
Browse repository at this point
feat: Update llama.cpp to ggerganov/llama.cpp@49bfddeca18e62fa3d39114a23e9fcbdf8a22388 (#2151)
Show description for 18aa31e
abetlen
authored
18aa31e
View commit details
Copy full SHA for 18aa31e
View code at this point
Browse repository at this point
Commits on Mar 22, 2026
misc: Add Ruff formatting (#2148)
Show description for a9b4a06
abetlen
authored
a9b4a06
View commit details
Copy full SHA for a9b4a06
View code at this point
Browse repository at this point
Commits on Aug 7, 2025
fix: rename op_offloat to op_offload in llama.py (#2046)
sergey21000
authored
30ddd56
View commit details
Copy full SHA for 30ddd56
View code at this point
Browse repository at this point
Commits on Jul 5, 2025
fix: Update reference to in Llama.embed. Closes #2037
abetlen
committed
9e5a4ea
View commit details
Copy full SHA for 9e5a4ea
View code at this point
Browse repository at this point
Commits on Jul 1, 2025
fix(minor): Fix type hint for older versions of python
abetlen
committed
5a635f4
View commit details
Copy full SHA for 5a635f4
View code at this point
Browse repository at this point
misc: Fix support for new parameters, deprecate rpc_servers parameter
abetlen
committed
51dce74
View commit details
Copy full SHA for 51dce74
View code at this point
Browse repository at this point
feat: Update llama.cpp
abetlen
committed
0d475d7
View commit details
Copy full SHA for 0d475d7
View code at this point
Browse repository at this point
Commits on Jan 29, 2025
fix: error showing time spent in llama perf context print (#1898)
Show description for 4442ff8
shakalaca
and
abetlen
authored
4442ff8
View commit details
Copy full SHA for 4442ff8
View code at this point
Browse repository at this point
feat: Update llama.cpp
abetlen
committed
80be68a
View commit details
Copy full SHA for 80be68a
View code at this point
Browse repository at this point
Commits on Dec 6, 2024
fix logit-bias type hint (#1802)
Show description for fa04cdc
ddh0
authored
fa04cdc
View commit details
Copy full SHA for fa04cdc
View code at this point
Browse repository at this point
fix: Fix pickling of Llama class by setting seed from _seed member. Closes #1769
abetlen
committed
2523472
View commit details
Copy full SHA for 2523472
View code at this point
Browse repository at this point
Commits on Oct 31, 2024
feat: Update llama.cpp
abetlen
committed
e712cff
View commit details
Copy full SHA for e712cff
View code at this point
Browse repository at this point
Commits on Sep 26, 2024
fix: Additional fixes for speculative decoding
abetlen
committed
e975dab
View commit details
Copy full SHA for e975dab
View code at this point
Browse repository at this point
misc: Rename all_text to remaining_text (#1658)
Show description for 11d9562
xu-song
and
abetlen
authored
11d9562
View commit details
Copy full SHA for 11d9562
View code at this point
Browse repository at this point
fix: Fix speculative decoding
abetlen
committed
9992c50
View commit details
Copy full SHA for 9992c50
View code at this point
Browse repository at this point
Commits on Sep 20, 2024
feat: Add option to configure n_ubatch
abetlen
committed
6c44a3f
View commit details
Copy full SHA for 6c44a3f
View code at this point
Browse repository at this point
Commits on Sep 19, 2024
feat: Add loading sharded GGUF files from HuggingFace with Llama.from_pretrained(additional_files=[...]) . Closes #1341
Show description for 84c0920
Gnurro
and
abetlen
authored
84c0920
View commit details
Copy full SHA for 84c0920
View code at this point
Browse repository at this point
fix: Don't store scores internally unless logits_all=True. Reduces memory requirements for large context. Closes #1542
abetlen
committed
29afcfd
View commit details
Copy full SHA for 29afcfd
View code at this point
Browse repository at this point
fix: Fix memory allocation of ndarray (#1704)
Show description for 22cedad
xu-song
and
abetlen
authored
22cedad
View commit details
Copy full SHA for 22cedad
View code at this point
Browse repository at this point
misc: Format
abetlen
committed
9b64bb5
View commit details
Copy full SHA for 9b64bb5
View code at this point
Browse repository at this point
feat: Update sampling API for llama.cpp (#1742)
Show description for f8fcb3e
abetlen
authored
f8fcb3e
View commit details
Copy full SHA for f8fcb3e
View code at this point
Browse repository at this point
Commits on Aug 31, 2024
feat: Update llama.cpp
abetlen
committed
9769e57
View commit details
Copy full SHA for 9769e57
View code at this point
Browse repository at this point
Commits on Aug 29, 2024
feat: Enable detokenizing special tokens with `special=True` (#1596)
Show description for d981d32
benniekiss
and
abetlen
authored
d981d32
View commit details
Copy full SHA for d981d32
View code at this point
Browse repository at this point
Commits on Aug 15, 2024
fix: Llama.close didn't free lora adapter (#1679)
jkawamoto
authored
3c7501b
View commit details
Copy full SHA for 3c7501b
View code at this point
Browse repository at this point
feat: Update llama.cpp
abetlen
committed
63d65ac
View commit details
Copy full SHA for 63d65ac
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.