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 }}
Smartappli
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
patch-1
User selector
All users
Datepicker
All time
Commit history
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
Commits on Aug 12, 2024
fix: only print 'cache saved' in verbose mode (#1668)
Show description for 9bab46f
lsorber
and
abetlen
authored
9bab46f
View commit details
Copy full SHA for 9bab46f
View code at this point
Browse repository at this point
Commits on Aug 8, 2024
fix: typo
abetlen
committed
7aaf701
View commit details
Copy full SHA for 7aaf701
View code at this point
Browse repository at this point
Commits on Aug 7, 2024
feat: Enable recursive search of HFFS.ls when using `from_pretrained` (#1656)
Show description for 5e39a85
benHeid
and
abetlen
authored
5e39a85
View commit details
Copy full SHA for 5e39a85
View code at this point
Browse repository at this point
feat: Add more detailed log for prefix-match (#1659)
Show description for e966f3b
xu-song
and
abetlen
authored
e966f3b
View commit details
Copy full SHA for e966f3b
View code at this point
Browse repository at this point
Commits on Jul 31, 2024
fix : Missing LoRA adapter after API change (#1630)
shamitv
authored
1f0b9a2
View commit details
Copy full SHA for 1f0b9a2
View code at this point
Browse repository at this point
Commits on Jul 18, 2024
fix: Change repeat_penalty to 1.0 to match llama.cpp defaults (#1590)
Show description for 0700476
ddh0
and
abetlen
authored
0700476
View commit details
Copy full SHA for 0700476
View code at this point
Browse repository at this point
Commits on Jul 17, 2024
feat: Update llama.cpp
abetlen
committed
7613d23
View commit details
Copy full SHA for 7613d23
View code at this point
Browse repository at this point
Commits on Jul 9, 2024
fix(minor): Minor ruff fixes
abetlen
committed
08f2bb3
View commit details
Copy full SHA for 08f2bb3
View code at this point
Browse repository at this point
fix(misc): Format
abetlen
committed
c1ae815
View commit details
Copy full SHA for c1ae815
View code at this point
Browse repository at this point
Commits on Jun 19, 2024
fix: Make destructor to automatically call .close() method on Llama class.
abetlen
committed
4c1d74c
View commit details
Copy full SHA for 4c1d74c
View code at this point
Browse repository at this point
Commits on Jun 13, 2024
feat: Add `.close()` method to `Llama` class to explicitly free model from memory (#1513)
Show description for 320a5d7
jkawamoto
and
abetlen
authored
320a5d7
View commit details
Copy full SHA for 320a5d7
View code at this point
Browse repository at this point
feat: Support SPM infill (#1492)
Show description for dbcf64c
CISC
and
abetlen
authored
dbcf64c
View commit details
Copy full SHA for dbcf64c
View code at this point
Browse repository at this point
Commits on Jun 4, 2024
feat: adding `rpc_servers` parameter to `Llama` class (#1477)
Show description for d634efc
chraac
and
abetlen
authored
d634efc
View commit details
Copy full SHA for d634efc
View code at this point
Browse repository at this point
fix: fix logprobs when BOS is not present (#1471)
Show description for 6e0642c
a-ghorbani
authored
6e0642c
View commit details
Copy full SHA for 6e0642c
View code at this point
Browse repository at this point
fix: Avoid duplicate special tokens in chat formats (#1439)
Show description for 027f7bc
CISC
and
abetlen
authored
027f7bc
View commit details
Copy full SHA for 027f7bc
View code at this point
Browse repository at this point
Commits on May 29, 2024
fix: fix string value kv_overrides. Closes #1487
abetlen
committed
df45a4b
View commit details
Copy full SHA for df45a4b
View code at this point
Browse repository at this point
Commits on May 24, 2024
feat: Improve Llama.eval performance by avoiding list conversion (#1476)
Show description for 5cae104
thoughtp0lice
and
abetlen
authored
5cae104
View commit details
Copy full SHA for 5cae104
View code at this point
Browse repository at this point
Commits on May 16, 2024
fix: segfault for models without eos / bos tokens. Closes #1463
abetlen
committed
d99a6ba
View commit details
Copy full SHA for d99a6ba
View code at this point
Browse repository at this point
Commits on May 14, 2024
feat: add MinTokensLogitProcessor and min_tokens argument to server (#1333)
Show description for 5212fb0
twaka
authored
5212fb0
View commit details
Copy full SHA for 5212fb0
View code at this point
Browse repository at this point
misc: Remove unnecessary metadata lookups (#1448)
Show description for 389e09c
CISC
authored
389e09c
View commit details
Copy full SHA for 389e09c
View code at this point
Browse repository at this point
Commits on May 9, 2024
feat: Support multiple chat templates - step 1 (#1396)
Show description for 5ab40e6
CISC
and
abetlen
authored
5ab40e6
View commit details
Copy full SHA for 5ab40e6
View code at this point
Browse repository at this point
Commits on May 8, 2024
feat: fill-in-middle support (#1386)
Show description for 4a7122d
CISC
and
abetlen
authored
4a7122d
View commit details
Copy full SHA for 4a7122d
View code at this point
Browse repository at this point
fix: chat_format log where auto-detected format prints `None` (#1434)
balvisio
authored
a50d24e
View commit details
Copy full SHA for a50d24e
View code at this point
Browse repository at this point
Commits on May 3, 2024
fix: Use memmove to copy str_value kv_override. Closes #1417
abetlen
committed
9f7a855
View commit details
Copy full SHA for 9f7a855
View code at this point
Browse repository at this point
Commits on Apr 30, 2024
fix: wrong parameter for flash attention in pickle __getstate__
abetlen
committed
29b6e9a
View commit details
Copy full SHA for 29b6e9a
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.