Expand description
Auto-dispatch: pick a registered model runner from a weights path.
auto_runner_name(path) resolves the path (file or directory), sniffs
the model family (GGUF general.architecture for .gguf, sidecar
config.json model_type for safetensors), and maps it to the short
runner name a callsite registered with register_cli
(e.g. "qwen3", "gemma").
auto_dispatch(path, args) is a one-shot: sniff, look up, run.
Used by skill so callers don’t need to hardcode Qwen3Runner vs
GemmaRunner per family.
Structs§
- Sniffed
Runner - Result of sniffing a weights path.
- Unimplemented
Arch - A catalog arch that RLX recognizes but has not yet implemented a runner
for. Returned by
known_unimplemented_archso error messages can point at the PLAN.md milestone that unblocks the family.
Enums§
- Sniffed
From - Source the sniffer used to identify the model family.
Functions§
- arch_
runner_ name - Map a GGUF
general.architecturetag to the short runner name. - auto_
dispatch - Sniff
path, look up its runner in the registry, and run it withargs. - auto_
runner_ name - Sniff
pathand return only the runner short name. - auto_
sniff - Resolve
pathto a single weight file, then sniff the runner. - known_
unimplemented_ arch - Look up an arch / model_type in the unimplemented-families table.
- known_
unimplemented_ keys - Snapshot of every (key, family) pair currently in the unimplemented
table — useful for
rlx-run check --list-unimplementedstyle tooling. - model_
type_ runner_ name - Map an HF
config.jsonmodel_typevalue to a short runner name. - run_
auto - Entry point for an
rlx-run auto WEIGHTS [args...]subcommand.