Local LLM inference management via llama-server
Project description
dkdc-lm
Language model service.
Install
Recommended:
curl -LsSf https://dkdc.sh/lm/install.sh | sh
Pre-built binaries are available for Linux and macOS via Python (uv). Windows users should install via cargo or use macOS/Linux.
uv:
uv tool install dkdc-lm
cargo:
cargo install dkdc-lm-cli
Verify installation:
lm --version
You can use uvx to run it without installing:
uvx --from dkdc-lm lm
Usage
CLI
lm start # Start with default model (Gemma 4 26B-A4B)
lm start --builtin gemma-4-e4b-it # Start with smaller model
lm start --hf ggml-org/some-model-GGUF # Start with HuggingFace model
lm start --model /path/to/model.gguf # Start with local model
lm status # Check server status
lm logs # View recent logs
lm attach # Attach to tmux session
lm stop # Stop server
Rust
use dkdc_lm::{start, stop, status, resolve_builtin, DEFAULT_PORT};
let args = resolve_builtin("gemma-4-26b-a4b-it")?;
start(&args, DEFAULT_PORT, -1, 4096)?;
let (tmux, http) = status(DEFAULT_PORT);
println!("tmux: {}, http: {}", tmux, http);
stop()?;
Python
import dkdc_lm
args = dkdc_lm.resolve_builtin(dkdc_lm.default_builtin())
dkdc_lm.start(args)
tmux_running, http_responding = dkdc_lm.status()
print(f"tmux: {tmux_running}, http: {http_responding}")
dkdc_lm.stop()
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 Distributions
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 dkdc_lm-0.2.1.tar.gz.
File metadata
- Download URL: dkdc_lm-0.2.1.tar.gz
- Upload date:
- Size: 17.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03e9b3cc4cf6c4275247af6f245300f89b0ea385b515b77265a9eea0d05e9686
|
|
| MD5 |
8e3c055cbd772bc60da14faacea334d8
|
|
| BLAKE2b-256 |
53a35f1d3c4ae4cb533c6136c8daf0e3fe707fa78569d36dac2a2d4e3c6b28d3
|
Provenance
The following attestation bundles were made for dkdc_lm-0.2.1.tar.gz:
Publisher:
release-python.yml on dkdc-io/lm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dkdc_lm-0.2.1.tar.gz -
Subject digest:
03e9b3cc4cf6c4275247af6f245300f89b0ea385b515b77265a9eea0d05e9686 - Sigstore transparency entry: 1289747231
- Sigstore integration time:
-
Permalink:
dkdc-io/lm@b41660e6e7c6ddfb30196c4aa7a03270b2dd5720 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/dkdc-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@b41660e6e7c6ddfb30196c4aa7a03270b2dd5720 -
Trigger Event:
push
-
Statement type:
File details
Details for the file dkdc_lm-0.2.1-cp311-abi3-manylinux_2_39_x86_64.whl.
File metadata
- Download URL: dkdc_lm-0.2.1-cp311-abi3-manylinux_2_39_x86_64.whl
- Upload date:
- Size: 3.7 MB
- Tags: CPython 3.11+, manylinux: glibc 2.39+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81d4349990113cfe473ab7225a576f3a0aca85f63c3c992185fd4d76254b892c
|
|
| MD5 |
43619739ee31731435a3be74ca4875cf
|
|
| BLAKE2b-256 |
b4c7524e236c8bde901e934b6ec923467be92afc488174800a25ef7c3d897d20
|
Provenance
The following attestation bundles were made for dkdc_lm-0.2.1-cp311-abi3-manylinux_2_39_x86_64.whl:
Publisher:
release-python.yml on dkdc-io/lm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dkdc_lm-0.2.1-cp311-abi3-manylinux_2_39_x86_64.whl -
Subject digest:
81d4349990113cfe473ab7225a576f3a0aca85f63c3c992185fd4d76254b892c - Sigstore transparency entry: 1289747668
- Sigstore integration time:
-
Permalink:
dkdc-io/lm@b41660e6e7c6ddfb30196c4aa7a03270b2dd5720 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/dkdc-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@b41660e6e7c6ddfb30196c4aa7a03270b2dd5720 -
Trigger Event:
push
-
Statement type:
File details
Details for the file dkdc_lm-0.2.1-cp311-abi3-manylinux_2_39_aarch64.whl.
File metadata
- Download URL: dkdc_lm-0.2.1-cp311-abi3-manylinux_2_39_aarch64.whl
- Upload date:
- Size: 3.5 MB
- Tags: CPython 3.11+, manylinux: glibc 2.39+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d19bfcaef200ec835a63f9ca1c5f9fa5a7a988d5056ea9e3ce059940f0b29215
|
|
| MD5 |
7727ea549e9cf423dc4f50ff47abad6f
|
|
| BLAKE2b-256 |
7ed8e7f58bf6654511fd213ee3b0ec0f5a75fcb81af123e1490087b5fc5ac45f
|
Provenance
The following attestation bundles were made for dkdc_lm-0.2.1-cp311-abi3-manylinux_2_39_aarch64.whl:
Publisher:
release-python.yml on dkdc-io/lm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dkdc_lm-0.2.1-cp311-abi3-manylinux_2_39_aarch64.whl -
Subject digest:
d19bfcaef200ec835a63f9ca1c5f9fa5a7a988d5056ea9e3ce059940f0b29215 - Sigstore transparency entry: 1289747352
- Sigstore integration time:
-
Permalink:
dkdc-io/lm@b41660e6e7c6ddfb30196c4aa7a03270b2dd5720 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/dkdc-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@b41660e6e7c6ddfb30196c4aa7a03270b2dd5720 -
Trigger Event:
push
-
Statement type:
File details
Details for the file dkdc_lm-0.2.1-cp311-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: dkdc_lm-0.2.1-cp311-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.11+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43adbc84de5772d1e253e9571b689d538d830cb80e92a7f0b73ae8cb64cebae3
|
|
| MD5 |
edbf7152a385cd167359d7139b259172
|
|
| BLAKE2b-256 |
5468bca9513988cedf7976432f0ab0f323c77f1f38cb72ee23c8f50ce61d7f13
|
Provenance
The following attestation bundles were made for dkdc_lm-0.2.1-cp311-abi3-macosx_11_0_arm64.whl:
Publisher:
release-python.yml on dkdc-io/lm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dkdc_lm-0.2.1-cp311-abi3-macosx_11_0_arm64.whl -
Subject digest:
43adbc84de5772d1e253e9571b689d538d830cb80e92a7f0b73ae8cb64cebae3 - Sigstore transparency entry: 1289747499
- Sigstore integration time:
-
Permalink:
dkdc-io/lm@b41660e6e7c6ddfb30196c4aa7a03270b2dd5720 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/dkdc-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@b41660e6e7c6ddfb30196c4aa7a03270b2dd5720 -
Trigger Event:
push
-
Statement type:
File details
Details for the file dkdc_lm-0.2.1-cp311-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: dkdc_lm-0.2.1-cp311-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.11+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96f66c2dddd9445d85468736e264e88270375ad9989a5a3d38ecbb4778393b2d
|
|
| MD5 |
ab816713a75036241ce8c4ad2ffff800
|
|
| BLAKE2b-256 |
2f02bdfaf79d9135b7e182994faf7512b6b1b8e2c5d75ce7433c6c135761086f
|
Provenance
The following attestation bundles were made for dkdc_lm-0.2.1-cp311-abi3-macosx_10_12_x86_64.whl:
Publisher:
release-python.yml on dkdc-io/lm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dkdc_lm-0.2.1-cp311-abi3-macosx_10_12_x86_64.whl -
Subject digest:
96f66c2dddd9445d85468736e264e88270375ad9989a5a3d38ecbb4778393b2d - Sigstore transparency entry: 1289747796
- Sigstore integration time:
-
Permalink:
dkdc-io/lm@b41660e6e7c6ddfb30196c4aa7a03270b2dd5720 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/dkdc-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@b41660e6e7c6ddfb30196c4aa7a03270b2dd5720 -
Trigger Event:
push
-
Statement type: