pub fn detect<'a>(
names: impl Iterator<Item = &'a str>,
num_hidden_layers: usize,
) -> Option<MtpLayout>Expand description
Detect the MTP layout from raw tensor names.
mtp.* wins when both are present — that is the layout the generic
load_mtp_weights_multi path binds.