Interact with llama-server models
Project description
llm-llama-server
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67bc34b4985da9fef94c31a93d096988391a2a3f15354e4acfc7ceaf77d61eff
|
|
| MD5 |
13f9a8f73b2b2d30e584224ea7dff34e
|
|
| BLAKE2b-256 |
7aef69fa938fb3b121b5da9915b58ec588e2648b4a653eaf1fdf707ec95a5b5e
|
Provenance
The following attestation bundles were made for llm_llama_server-0.1.tar.gz:
Publisher:
publish.yml on simonw/llm-llama-server
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llm_llama_server-0.1.tar.gz -
Subject digest:
67bc34b4985da9fef94c31a93d096988391a2a3f15354e4acfc7ceaf77d61eff - Sigstore transparency entry: 209571322
- Sigstore integration time:
-
Permalink:
simonw/llm-llama-server@cf404a1f4cb932400558ef24c1adf7745025e892 -
Branch / Tag:
refs/tags/0.1 - Owner: https://github.com/simonw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@cf404a1f4cb932400558ef24c1adf7745025e892 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b076ecdb9fee8c9fd2f9b87eff8455f75720cff9d8d33fd1af13837c86f09999
|
|
| MD5 |
2011c2396308fde0c44d482d226c1d16
|
|
| BLAKE2b-256 |
a2c0df9d97e953c78231a5944062fba1d5d78cb10c2a353a4f63e701c7ff60eb
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llm_llama_server-0.1-py3-none-any.whl -
Subject digest:
b076ecdb9fee8c9fd2f9b87eff8455f75720cff9d8d33fd1af13837c86f09999 - Sigstore transparency entry: 209571333
- Sigstore integration time:
-
Permalink:
simonw/llm-llama-server@cf404a1f4cb932400558ef24c1adf7745025e892 -
Branch / Tag:
refs/tags/0.1 - Owner: https://github.com/simonw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@cf404a1f4cb932400558ef24c1adf7745025e892 -
Trigger Event:
release
-
Statement type: