LMRunner
LMRunner is a lightweight CLI for starting and managing local LLM inference endpoints backed by llama.cpp.
Installation
From source
git clone https://github.com/jschw/LMRunner.git
cd LMRunner
python -m pip install -e .
With pip
If you want to compile llama-server by yourself or just download the binaries, just do:
python -m pip install --upgrade lmrunner
You will have to set the path according in llm_server_config.json . Standard path of llama.cpp is /lmrunner/Llamacpp/llama.cpp/build/bin/llama-server .
If you want to install the python-bindings for llama.cpp (easier but may not up-to-date):
python -m pip install --upgrade lmrunner[llamacppbindings]
Run
./lmrunner
Commands
Commands are entered inside the interactive prompt and always start with /.
| Command | Function |
|---|---|
/getconfigpaths |
Output the paths of LLM config files. |
/editlmconf |
Open llm_config.json in the default text editor. |
/editserverconf |
Open llm_server_config.json in the default text editor. |
/refreshconf |
Reload llm_config.json and llm_server_config.json. |
/updatemodels |
Update the LLM model catalog from GitHub and print the available models. |
/listendpoints |
List all available LLM endpoint configs. |
/startendpoint <name> |
Start a specific LLM endpoint by config name. |
/restartendpoint <name> |
Restart a specific LLM endpoint by config name. |
/stopendpoint <name> |
Stop a specific LLM endpoint by config name. |
/stopallendpnts |
Stop all LLM inference endpoints. |
/llmstatus |
Show the status of local LLM inference endpoints. |
/setautostartendpoint <name> |
Set a specific LLM endpoint for autostart on next startup. |
/help |
Show the help message. |
/exit |
Exit the CLI and stop running endpoints. |
Metadata
Release files for lmrunner 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lmrunner-0.2.0.tar.gz | 9.5 kB | Without provenance | Details for lmrunner-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lmrunner-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for lmrunner-0.2.0-py3-none-any.whl |
Total release size: 19.1 kB
Release files / lmrunner-0.2.0.tar.gz
| Download URL | lmrunner-0.2.0.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f813541802ffc1e034e10c2f5bb36b4df975dbd74bb715c912e5967c758930eb
|
|
BLAKE2b-256 checksum How to use checksums |
573aac1542f540287282bb02ea1faffbf87f42d6281bf3246c5dded869282c62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / lmrunner-0.2.0-py3-none-any.whl
| Download URL | lmrunner-0.2.0-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c7006dd36c6e2576151b5588e0bbc007405ce880b66c7c24960377c8839c817
|
|
BLAKE2b-256 checksum How to use checksums |
a44d58087b37fe7f9964bdd6db08e3717b93fd8624ec4063038bb9257461e95d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for lmrunner 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.