rlx-granite
Granite (IBM) text-generation runner for RLX. Granite ships as general.architecture = granite / granitemoe / granitehybrid in its GGUF converters — Llama-shaped with attention-scale and embedding-scale multipliers. This crate is a thin, arch-validating wrapper over rlx_llama32::Llama32Runner.
Status (stub). Granite's
attention.scaleandembedding.scalekeys aren't yet read or applied inrlx-llama32, so runs produce some tokens but won't match the upstream reference until those land.granitemoe/granitehybridadditionally need MoE / hybrid wiring (PLAN.md M4 + M5).
Public API
use ;
use Device;
let mut runner = builder
.weights
.device
.build?;
runner.generate?;
# Ok
rlx_granite::cli_run(&args) exposes the shared rlx-llama32 CLI (--weights, --tokenizer, --prompt-ids, --device, …).
How it fits
- rlx-llama32 — the underlying Llama-family runner.
- rlx-llama-base — shared Llama config / weight-layout helpers.