Skip to content

About

llama.cpp server in a Python wheel.

Resources

Stars

15 stars

Watchers

1 watching

Forks

Repository files navigation

llama-cpp-binaries

llama.cpp server in a Python wheel.

Installation

git clone --recurse-submodules https://github.com/oobabooga/llama-cpp-binaries
cd llama-cpp-binaries
CMAKE_ARGS="-DGGML_CUDA=ON" pip install -v .

Replace -DGGML_CUDA=ON with the appropriate flag for your GPU, or remove it if you don't have a GPU.

Usage

import subprocess
import llama_cpp_binaries

server_path = llama_cpp_binaries.get_binary_path()
process = subprocess.Popen([server_path, "--help"])

For a more detailed example, consult: https://github.com/oobabooga/text-generation-webui/blob/main/modules/llama_cpp_server.py

About

llama.cpp server in a Python wheel.

Resources

Stars

15 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages