Hardware-aware local LLM deployment: probe, resolve, run.
Project description
Rigma
Hardware-aware local LLM deployment for consumer machines: rigma up probes your GPU/RAM,
picks the community-verified best model + quant + flag combo for your exact hardware,
downloads a pinned llama.cpp build and the model, and serves an OpenAI-compatible endpoint —
no knob-mashing required.
Unlike generic runners, Rigma applies the tuning that actually matters per machine:
MoE expert offload (--n-cpu-moe) sized to your RAM, architecture-aware KV-cache policies
(e.g. q8_0 K-cache floor on DeltaNet-family models), backend selection per GPU generation
(e.g. Vulkan over ROCm on RDNA4), flash attention, and session persistence
(--slot-save-path) on by default. Every decision is auditable: rigma plan --explain
shows the arithmetic and sources.
Quickstart (pre-alpha)
git clone https://github.com/IxMxAMAR/rigma && cd rigma
pip install -e .
rigma up # probe -> resolve -> download -> serve at http://127.0.0.1:11500/v1
Commands: rigma doctor (what Rigma sees), rigma plan --explain (what it would run and why),
rigma models (what fits your machine), rigma up --use-case coding (serve).
Status
Pre-alpha (M1). Verified combos:
| Hardware | Model | Backend | Result |
|---|---|---|---|
| RX 9070 XT 16GB + 16GB RAM (Windows) | Qwen3.6-35B-A3B UD-Q3_K_XL, ctx 32K, n_cpu_moe 10 | Vulkan (llama.cpp b9867) | verified 2026-07-06: 57.1 t/s gen, 689 t/s prefill @ 4K prompt |
Design: docs/superpowers/specs/2026-07-03-rigma-design.md. License: Apache-2.0.
RAG integration (via Raggity, AGPL-3.0, separate process) lands in M4.
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 rigma-0.1.0.tar.gz.
File metadata
- Download URL: rigma-0.1.0.tar.gz
- Upload date:
- Size: 43.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
330bbf1bb57f343477adf5a2987917829655f3e5ca39ec33f8ad69b88542e040
|
|
| MD5 |
8ad20f2cdf3e1e61c9103d489ae0bd6f
|
|
| BLAKE2b-256 |
0636c40b06abe23f3c0581b3ddc4ac38944cf22ed8e2be80c35fec0e64f484cc
|
Provenance
The following attestation bundles were made for rigma-0.1.0.tar.gz:
Publisher:
publish.yml on IxMxAMAR/rigma
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rigma-0.1.0.tar.gz -
Subject digest:
330bbf1bb57f343477adf5a2987917829655f3e5ca39ec33f8ad69b88542e040 - Sigstore transparency entry: 2085340727
- Sigstore integration time:
-
Permalink:
IxMxAMAR/rigma@e5a0fd00622feb2bd01fc48966b9f3dec6e3e712 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/IxMxAMAR
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e5a0fd00622feb2bd01fc48966b9f3dec6e3e712 -
Trigger Event:
release
-
Statement type:
File details
Details for the file rigma-0.1.0-py3-none-any.whl.
File metadata
- Download URL: rigma-0.1.0-py3-none-any.whl
- Upload date:
- Size: 20.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8c6cb743cbf19793e086c7fa93d3a0faec3f45bcad26a44cfa361d2f388df15
|
|
| MD5 |
de67501044273b5d4eda3cb11c6aa34f
|
|
| BLAKE2b-256 |
306d2907f2be7abf80ae5727c573b18c12111ac02ef2319551286e9b5711e6c6
|
Provenance
The following attestation bundles were made for rigma-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on IxMxAMAR/rigma
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rigma-0.1.0-py3-none-any.whl -
Subject digest:
a8c6cb743cbf19793e086c7fa93d3a0faec3f45bcad26a44cfa361d2f388df15 - Sigstore transparency entry: 2085340921
- Sigstore integration time:
-
Permalink:
IxMxAMAR/rigma@e5a0fd00622feb2bd01fc48966b9f3dec6e3e712 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/IxMxAMAR
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e5a0fd00622feb2bd01fc48966b9f3dec6e3e712 -
Trigger Event:
release
-
Statement type: