allow_partial_targets

Function allow_partial_targets 

Source
pub fn allow_partial_targets() -> bool
Expand description

2026-09-25: METRALE_LORA_ALLOW_PARTIAL (1 or true, any case): load an adapter that names target modules the engine cannot apply, skipping those. Re-exported from metrale-config, whose parse-time check reads the same switch, so both checks see one value. 2026-09-26: METRALE_LORA_ALLOW_PARTIAL (1 or true, any case), read once per process: load an adapter that names target modules the engine cannot apply, skipping those.

metrale_model_layers::lora::env re-exports this function; it is defined in this crate because validate_target_module reads it at parse time.

Off by default: a partly applied adapter cannot be told apart from a bad one.