PEFT_SUPPORTED_TARGET_MODULES

Constant PEFT_SUPPORTED_TARGET_MODULES 

Source
pub const PEFT_SUPPORTED_TARGET_MODULES: &[&str];
Expand description

2026-09-26: The module names (last .-segment of a target_modules entry) this parser accepts; validate_target_module also accepts the MoE router leaf gate. On a gated-attention model q_proj is the whole Q-and-gate projection, 2 * num_attention_heads * head_dim wide (metrale_model_layers LoraModule::dims). Which layers a module may target is decided per tensor by classify_key in the same crate.