Skip to main content

Interact with llama-server models

Project description

llm-llama-server

PyPI Changelog Tests License

Interact with llama-server models

Installation

Install this plugin in the same environment as LLM.

llm install llm-llama-server

Usage

You'll need to be running a llama-server on port 8080 to use this plugin.

To access a regular model from LLM, use the llama-server model:

llm -m llama-server "say hi"

For vision models, use llama-server-vision:

llm -m llama-server-vision describe -a path/to/image.png

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd llm-llama-server
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

python -m pip install -e '.[test]'

To run the tests:

python -m pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llm_llama_server-0.1.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llm_llama_server-0.1-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file llm_llama_server-0.1.tar.gz.

File metadata

  • Download URL: llm_llama_server-0.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for llm_llama_server-0.1.tar.gz
Algorithm Hash digest
SHA256 67bc34b4985da9fef94c31a93d096988391a2a3f15354e4acfc7ceaf77d61eff
MD5 13f9a8f73b2b2d30e584224ea7dff34e
BLAKE2b-256 7aef69fa938fb3b121b5da9915b58ec588e2648b4a653eaf1fdf707ec95a5b5e

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_llama_server-0.1.tar.gz:

Publisher: publish.yml on simonw/llm-llama-server

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file llm_llama_server-0.1-py3-none-any.whl.

File metadata

  • Download URL: llm_llama_server-0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for llm_llama_server-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b076ecdb9fee8c9fd2f9b87eff8455f75720cff9d8d33fd1af13837c86f09999
MD5 2011c2396308fde0c44d482d226c1d16
BLAKE2b-256 a2c0df9d97e953c78231a5944062fba1d5d78cb10c2a353a4f63e701c7ff60eb

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_llama_server-0.1-py3-none-any.whl:

Publisher: publish.yml on simonw/llm-llama-server

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page