pub fn extract_lora_components(
tensor_name: &str,
) -> Option<(usize, String, String)>Expand description
Extract LoRA components from hierarchical tensor names e.g., “base_model.model.layers.5.self_attn.q_proj.lora_A.weight” -> Some((5, “q_proj”, “lora_a”))