parse_peft_adapter_config

Function parse_peft_adapter_config 

Source
pub fn parse_peft_adapter_config(json: &str) -> Result<PeftAdapterConfig>
Expand description

Parse a PEFT adapter_config.json payload.

Hard-fails with a REJECT(<feature>)-prefixed message on every PEFT feature v0 does not support. The caller supplies file-path context.