Expand description
Dim 3 polymorphism point — weight-format detection for the executor factory.
Sibling of source::ModelFormat. The difference:
source::ModelFormatis a “what kind of files did we just download” hint used for cache classification and progress bars. It carries no path.WeightFormatis a “loader recipe” — it carries the resolved path AND tells the executor factory whichWeightLoader<B>to instantiate. New formats (AWQ, EXL2, HQQ, …) plug in by adding a variant + aWeightLoader<B>impl inferrum-quantization, with no special-casing inLlmExecutorFactory.
Replaces the is_gguf_path short-circuit in
ferrum-engine::registry::CandleExecutorFactory with a real
polymorphism point matching the 5-dim architecture (see
docs/architecture-refactor-status.md).
Enums§
- Weight
Format - Resolved weight format + path. Produced by
WeightFormat::detectfrom a user-supplied path (HF cache snapshot, local dir, or a.gguffile).