René's URL Explorer Experiment


Title: GitHub - abetlen/llama-cpp-python: Python bindings for llama.cpp · GitHub

Open Graph Title: GitHub - abetlen/llama-cpp-python: Python bindings for llama.cpp

X Title: GitHub - abetlen/llama-cpp-python: Python bindings for llama.cpp

Description: Python bindings for llama.cpp. Contribute to abetlen/llama-cpp-python development by creating an account on GitHub.

Open Graph Description: Python bindings for llama.cpp. Contribute to abetlen/llama-cpp-python development by creating an account on GitHub.

X Description: Python bindings for llama.cpp. Contribute to abetlen/llama-cpp-python development by creating an account on GitHub.

Opengraph URL: https://github.com/abetlen/llama-cpp-python

X: @github

direct link

Domain: redirect.github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:b4d9135e-cc0e-37de-1baa-e742e1289569
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idACEE:1C7E5:20F435:2C5AEA:6AFF617F
html-safe-nonce0f5bd2f2c01e67ce300a20d393647e5ae02dae84e2e22c4f9cef275aa2bb1f75
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0VFOjFDN0U1OjIwRjQzNToyQzVBRUE6NkFGRjYxN0YiLCJ2aXNpdG9yX2lkIjoiNjkyMTU1ODEzMzk2MTYxMzY5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac22f0b16a8a72dd9405db6f9439a72ad20ce7b4b36ccb4a44284d0d52d19dad27
hovercard-subject-tagrepository:617868717
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/abetlen/llama-cpp-python
twitter:imagehttps://opengraph.githubassets.com/433f98bfbbbd8b972764d25a72533fc82444a6d8a5b8c5a8412e9b9f758c3a29/abetlen/llama-cpp-python
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/433f98bfbbbd8b972764d25a72533fc82444a6d8a5b8c5a8412e9b9f758c3a29/abetlen/llama-cpp-python
og:image:altPython bindings for llama.cpp. Contribute to abetlen/llama-cpp-python development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None41b58589a1c4eda1e3c8904144a412b88ca4455f63ca2ad3629f2e9f3c3a1d12
turbo-cache-controlno-cache
go-importgithub.com/abetlen/llama-cpp-python git https://github.com/abetlen/llama-cpp-python.git
octolytics-dimension-user_id6826477
octolytics-dimension-user_loginabetlen
octolytics-dimension-repository_id617868717
octolytics-dimension-repository_nwoabetlen/llama-cpp-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id617868717
octolytics-dimension-repository_network_root_nwoabetlen/llama-cpp-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8968d6d6acc65d74e4df332d23932dd3fd0502a4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://redirect.github.com/abetlen/llama-cpp-python#start-of-content
https://redirect.github.com/
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fabetlen%2Fllama-cpp-python
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fabetlen%2Fllama-cpp-python
Sign uphttps://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=abetlen%2Fllama-cpp-python
Reloadhttps://redirect.github.com/abetlen/llama-cpp-python
Reloadhttps://redirect.github.com/abetlen/llama-cpp-python
Reloadhttps://redirect.github.com/abetlen/llama-cpp-python
abetlenhttps://redirect.github.com/abetlen
llama-cpp-pythonhttps://redirect.github.com/abetlen/llama-cpp-python
Codehttps://redirect.github.com/abetlen/llama-cpp-python
Issues600 (600)https://redirect.github.com/abetlen/llama-cpp-python/issues
Pull requests122 (122)https://redirect.github.com/abetlen/llama-cpp-python/pulls
Discussionshttps://redirect.github.com/abetlen/llama-cpp-python/discussions
Actionshttps://redirect.github.com/abetlen/llama-cpp-python/actions
Projectshttps://redirect.github.com/abetlen/llama-cpp-python/projects
Security and quality1 (1)https://redirect.github.com/abetlen/llama-cpp-python/security
Insightshttps://redirect.github.com/abetlen/llama-cpp-python/pulse
https://redirect.github.com/abetlen/llama-cpp-python
llama-cpp-pythonhttps://redirect.github.com/abetlen/llama-cpp-python
Notificationshttps://redirect.github.com/login?return_to=%2Fabetlen%2Fllama-cpp-python
Fork1.5k (1.5k)https://redirect.github.com/login?return_to=%2Fabetlen%2Fllama-cpp-python
Star10.7k (10.7k)https://redirect.github.com/login?return_to=%2Fabetlen%2Fllama-cpp-python
llama-cpp-python.readthedocs.iohttps://llama-cpp-python.readthedocs.io
Readmehttps://redirect.github.com/abetlen/llama-cpp-python#readme-ov-file
MIT licensehttps://redirect.github.com/abetlen/llama-cpp-python#MIT-1-ov-file
Contributinghttps://redirect.github.com/abetlen/llama-cpp-python#contributing-ov-file
Activityhttps://redirect.github.com/abetlen/llama-cpp-python/activity
1.5k forkshttps://redirect.github.com/abetlen/llama-cpp-python/forks
Report repositoryhttps://redirect.github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fabetlen%2Fllama-cpp-python&report=abetlen+%28user%29
Brancheshttps://redirect.github.com/abetlen/llama-cpp-python/branches
Tagshttps://redirect.github.com/abetlen/llama-cpp-python/tags
https://redirect.github.com/abetlen/llama-cpp-python/branches
https://redirect.github.com/abetlen/llama-cpp-python/tags
2,180 Commitshttps://redirect.github.com/abetlen/llama-cpp-python/commits/main/
https://redirect.github.com/abetlen/llama-cpp-python/commits/main/
.githubhttps://redirect.github.com/abetlen/llama-cpp-python/tree/main/.github
.githubhttps://redirect.github.com/abetlen/llama-cpp-python/tree/main/.github
dockerhttps://redirect.github.com/abetlen/llama-cpp-python/tree/main/docker
dockerhttps://redirect.github.com/abetlen/llama-cpp-python/tree/main/docker
docshttps://redirect.github.com/abetlen/llama-cpp-python/tree/main/docs
docshttps://redirect.github.com/abetlen/llama-cpp-python/tree/main/docs
exampleshttps://redirect.github.com/abetlen/llama-cpp-python/tree/main/examples
exampleshttps://redirect.github.com/abetlen/llama-cpp-python/tree/main/examples
llama_cpphttps://redirect.github.com/abetlen/llama-cpp-python/tree/main/llama_cpp
llama_cpphttps://redirect.github.com/abetlen/llama-cpp-python/tree/main/llama_cpp
scriptshttps://redirect.github.com/abetlen/llama-cpp-python/tree/main/scripts
scriptshttps://redirect.github.com/abetlen/llama-cpp-python/tree/main/scripts
testshttps://redirect.github.com/abetlen/llama-cpp-python/tree/main/tests
testshttps://redirect.github.com/abetlen/llama-cpp-python/tree/main/tests
vendorhttps://redirect.github.com/abetlen/llama-cpp-python/tree/main/vendor
vendorhttps://redirect.github.com/abetlen/llama-cpp-python/tree/main/vendor
.dockerignorehttps://redirect.github.com/abetlen/llama-cpp-python/blob/main/.dockerignore
.dockerignorehttps://redirect.github.com/abetlen/llama-cpp-python/blob/main/.dockerignore
.gitignorehttps://redirect.github.com/abetlen/llama-cpp-python/blob/main/.gitignore
.gitignorehttps://redirect.github.com/abetlen/llama-cpp-python/blob/main/.gitignore
.gitmoduleshttps://redirect.github.com/abetlen/llama-cpp-python/blob/main/.gitmodules
.gitmoduleshttps://redirect.github.com/abetlen/llama-cpp-python/blob/main/.gitmodules
.readthedocs.yamlhttps://redirect.github.com/abetlen/llama-cpp-python/blob/main/.readthedocs.yaml
.readthedocs.yamlhttps://redirect.github.com/abetlen/llama-cpp-python/blob/main/.readthedocs.yaml
CHANGELOG.mdhttps://redirect.github.com/abetlen/llama-cpp-python/blob/main/CHANGELOG.md
CHANGELOG.mdhttps://redirect.github.com/abetlen/llama-cpp-python/blob/main/CHANGELOG.md
CMakeLists.txthttps://redirect.github.com/abetlen/llama-cpp-python/blob/main/CMakeLists.txt
CMakeLists.txthttps://redirect.github.com/abetlen/llama-cpp-python/blob/main/CMakeLists.txt
CONTRIBUTING.mdhttps://redirect.github.com/abetlen/llama-cpp-python/blob/main/CONTRIBUTING.md
CONTRIBUTING.mdhttps://redirect.github.com/abetlen/llama-cpp-python/blob/main/CONTRIBUTING.md
LICENSE.mdhttps://redirect.github.com/abetlen/llama-cpp-python/blob/main/LICENSE.md
LICENSE.mdhttps://redirect.github.com/abetlen/llama-cpp-python/blob/main/LICENSE.md
Makefilehttps://redirect.github.com/abetlen/llama-cpp-python/blob/main/Makefile
Makefilehttps://redirect.github.com/abetlen/llama-cpp-python/blob/main/Makefile
README.mdhttps://redirect.github.com/abetlen/llama-cpp-python/blob/main/README.md
README.mdhttps://redirect.github.com/abetlen/llama-cpp-python/blob/main/README.md
mkdocs.ymlhttps://redirect.github.com/abetlen/llama-cpp-python/blob/main/mkdocs.yml
mkdocs.ymlhttps://redirect.github.com/abetlen/llama-cpp-python/blob/main/mkdocs.yml
pyproject.tomlhttps://redirect.github.com/abetlen/llama-cpp-python/blob/main/pyproject.toml
pyproject.tomlhttps://redirect.github.com/abetlen/llama-cpp-python/blob/main/pyproject.toml
READMEhttps://redirect.github.com/abetlen/llama-cpp-python
Contributinghttps://redirect.github.com/abetlen/llama-cpp-python
MIT licensehttps://redirect.github.com/abetlen/llama-cpp-python
https://raw.githubusercontent.com/abetlen/llama-cpp-python/main/docs/icon.svg
llama.cpphttps://github.com/ggerganov/llama.cpp
https://redirect.github.com/abetlen/llama-cpp-python#python-bindings-for-llamacpp
https://llama-cpp-python.readthedocs.io/en/latest/?badge=latest
https://github.com/abetlen/llama-cpp-python/actions/workflows/test.yaml
https://pypi.org/project/llama-cpp-python/
https://pypi.org/project/llama-cpp-python/
https://pypi.org/project/llama-cpp-python/
https://pepy.tech/projects/llama-cpp-python
https://redirect.github.com/abetlen/llama-cpp-python/blob/main
llama.cpphttps://github.com/ggerganov/llama.cpp
LangChain compatibilityhttps://python.langchain.com/docs/integrations/llms/llamacpp
LlamaIndex compatibilityhttps://docs.llamaindex.ai/en/stable/examples/llm/llama_2_llama_cpp.html
Local Copilot replacementhttps://llama-cpp-python.readthedocs.io/en/latest/server/#code-completion
Function Calling supporthttps://llama-cpp-python.readthedocs.io/en/latest/server/#function-calling
Vision API supporthttps://llama-cpp-python.readthedocs.io/en/latest/server/#multimodal-models
Multiple Modelshttps://llama-cpp-python.readthedocs.io/en/latest/server/#configuration-and-multi-model-support
https://llama-cpp-python.readthedocs.io/en/latesthttps://llama-cpp-python.readthedocs.io/en/latest
https://redirect.github.com/abetlen/llama-cpp-python#installation
https://redirect.github.com/abetlen/llama-cpp-python#installation-configuration
llama.cpp READMEhttps://github.com/ggml-org/llama.cpp/blob/master/docs/build.md
https://redirect.github.com/abetlen/llama-cpp-python#supported-backends
https://redirect.github.com/abetlen/llama-cpp-python#windows-notes
mentioned in llama.cpp repohttps://github.com/ggerganov/llama.cpp#openblas
https://redirect.github.com/abetlen/llama-cpp-python#macos-notes
docs/install/macos.mdhttps://llama-cpp-python.readthedocs.io/en/latest/install/macos/
https://redirect.github.com/abetlen/llama-cpp-python#upgrading-and-reinstalling
https://redirect.github.com/abetlen/llama-cpp-python#high-level-api
API Referencehttps://llama-cpp-python.readthedocs.io/en/latest/api-reference/#high-level-api
Llamahttps://llama-cpp-python.readthedocs.io/en/latest/api-reference/#llama_cpp.Llama
__call__https://llama-cpp-python.readthedocs.io/en/latest/api-reference/#llama_cpp.Llama.__call__
create_completionhttps://llama-cpp-python.readthedocs.io/en/latest/api-reference/#llama_cpp.Llama.create_completion
Llamahttps://llama-cpp-python.readthedocs.io/en/latest/api-reference/#llama_cpp.Llama
https://redirect.github.com/abetlen/llama-cpp-python#pulling-models-from-hugging-face-hub
from_pretrainedhttps://llama-cpp-python.readthedocs.io/en/latest/api-reference/#llama_cpp.Llama.from_pretrained
from_pretrainedhttps://llama-cpp-python.readthedocs.io/en/latest/api-reference/#llama_cpp.Llama.from_pretrained
hfhttps://huggingface.co/docs/huggingface_hub/en/guides/cli
https://redirect.github.com/abetlen/llama-cpp-python#chat-completion
create_chat_completionhttps://llama-cpp-python.readthedocs.io/en/latest/api-reference/#llama_cpp.Llama.create_chat_completion
Llamahttps://llama-cpp-python.readthedocs.io/en/latest/api-reference/#llama_cpp.Llama
create_chat_completion_openai_v1https://llama-cpp-python.readthedocs.io/en/latest/api-reference/#llama_cpp.Llama.create_chat_completion_openai_v1
https://redirect.github.com/abetlen/llama-cpp-python#json-and-json-schema-mode
create_chat_completionhttps://llama-cpp-python.readthedocs.io/en/latest/api-reference/#llama_cpp.Llama.create_chat_completion
https://redirect.github.com/abetlen/llama-cpp-python#json-mode
https://redirect.github.com/abetlen/llama-cpp-python#json-schema-mode
https://redirect.github.com/abetlen/llama-cpp-python#function-calling
herehttps://huggingface.co/meetkai
https://redirect.github.com/abetlen/llama-cpp-python#multi-modal-models
llava-v1.5-7bhttps://huggingface.co/mys/ggml_llava-v1.5-7b
llava-v1.5-13bhttps://huggingface.co/mys/ggml_llava-v1.5-13b
llava-v1.6-34bhttps://huggingface.co/cjpais/llava-v1.6-34B-gguf
moondream2https://huggingface.co/vikhyatk/moondream2
nanollavahttps://huggingface.co/abetlen/nanollava-gguf
llama-3-vision-alphahttps://huggingface.co/abetlen/llama-3-vision-alpha-gguf
minicpm-v-2.6https://huggingface.co/openbmb/MiniCPM-V-2_6-gguf
qwen2.5-vlhttps://huggingface.co/unsloth/Qwen2.5-VL-3B-Instruct-GGUF
gemma-4https://huggingface.co/unsloth/gemma-4-E4B-it-GGUF
https://colab.research.google.com/github/abetlen/llama-cpp-python/blob/main/examples/colab/notebook.ipynb
https://colab.research.google.com/github/abetlen/llama-cpp-python/blob/main/examples/colab/Gemma4-12B-QAT.ipynb
https://redirect.github.com/abetlen/llama-cpp-python#speculative-decoding
https://redirect.github.com/abetlen/llama-cpp-python#embeddings
create_embeddinghttps://llama-cpp-python.readthedocs.io/en/latest/api-reference/#llama_cpp.Llama.create_embedding
embedhttps://llama-cpp-python.readthedocs.io/en/latest/api-reference/#llama_cpp.Llama.embed
https://redirect.github.com/abetlen/llama-cpp-python#adjusting-the-context-window
https://redirect.github.com/abetlen/llama-cpp-python#openai-compatible-web-server
http://localhost:8000/docshttp://localhost:8000/docs
llama_cpp/llama_chat_format.pyhttps://redirect.github.com/abetlen/llama-cpp-python/blob/main/llama_cpp/llama_chat_format.py
https://redirect.github.com/abetlen/llama-cpp-python#web-server-features
Local Copilot replacementhttps://llama-cpp-python.readthedocs.io/en/latest/server/#code-completion
Function Calling supporthttps://llama-cpp-python.readthedocs.io/en/latest/server/#function-calling
Vision API supporthttps://llama-cpp-python.readthedocs.io/en/latest/server/#multimodal-models
Multiple Modelshttps://llama-cpp-python.readthedocs.io/en/latest/server/#configuration-and-multi-model-support
https://redirect.github.com/abetlen/llama-cpp-python#docker-image
GHCRhttps://ghcr.io/abetlen/llama-cpp-python
Docker on termux (requires root)https://gist.github.com/FreddieOliveira/efe850df7ff3951cb62d74bd770dce27
termux support issuehttps://github.com/abetlen/llama-cpp-python/issues/389
https://redirect.github.com/abetlen/llama-cpp-python#low-level-api
API Referencehttps://llama-cpp-python.readthedocs.io/en/latest/api-reference/#low-level-api
ctypeshttps://docs.python.org/3/library/ctypes.html
llama_cpp/llama_cpp.pyhttps://github.com/abetlen/llama-cpp-python/blob/master/llama_cpp/llama_cpp.py
llama.hhttps://github.com/ggerganov/llama.cpp/blob/master/llama.h
examples folderhttps://redirect.github.com/abetlen/llama-cpp-python/blob/main/examples/low_level_api
https://redirect.github.com/abetlen/llama-cpp-python#documentation
https://llama-cpp-python.readthedocs.io/https://llama-cpp-python.readthedocs.io/
https://redirect.github.com/abetlen/llama-cpp-python#development
CONTRIBUTING.mdhttps://redirect.github.com/abetlen/llama-cpp-python/blob/main/CONTRIBUTING.md
https://redirect.github.com/abetlen/llama-cpp-python#faq
https://redirect.github.com/abetlen/llama-cpp-python#are-there-pre-built-binaries--binary-wheels-available
#741https://github.com/abetlen/llama-cpp-python/issues/741
https://redirect.github.com/abetlen/llama-cpp-python#how-does-this-compare-to-other-python-bindings-of-llamacpp
https://redirect.github.com/abetlen/llama-cpp-python#license
llama-cpp-python.readthedocs.iohttps://llama-cpp-python.readthedocs.io
Readmehttps://redirect.github.com/abetlen/llama-cpp-python#readme-ov-file
MIT licensehttps://redirect.github.com/abetlen/llama-cpp-python#MIT-1-ov-file
Contributinghttps://redirect.github.com/abetlen/llama-cpp-python#contributing-ov-file
Activityhttps://redirect.github.com/abetlen/llama-cpp-python/activity
1.5k forkshttps://redirect.github.com/abetlen/llama-cpp-python/forks
Report repositoryhttps://redirect.github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fabetlen%2Fllama-cpp-python&report=abetlen+%28user%29
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.