Skip to main content

find_embedded_profile

Function find_embedded_profile 

Source
pub fn find_embedded_profile(
    model_type: &str,
    num_layers: usize,
    hidden_size: usize,
) -> Option<LayerProfile>
Expand description

Registry lookup for embedded profiles. Returns None for unknown models.

A known model family with unexpected geometry (e.g. a larger variant of a profiled family) also returns None, but loudly: it falls through to unvalidated allocation, and silence here previously masked that.