Expand description
Model capabilities — config-derived feature flags.
Instead of checking config.model_type == "qwen3_5_moe" throughout the codebase,
call sites use config.capabilities().has_moe_layers etc. Adding a new model
only requires implementing the capability derivation, not updating every call site.
Structs§
- Model
Capabilities - Feature flags derived from model config at parse time.
Enums§
- Attention
Type - Attention architecture family.
- SsmArchitecture
- SSM (State Space Model) architecture family.