ptx_for_config

Function ptx_for_config 

Source
pub fn ptx_for_config(
    model_type: &str,
    hidden_size: usize,
    model_refs: &[&str],
    pinned_target: Option<&str>,
) -> Result<Option<TargetPtxSet>, TargetResolveError>
Expand description

2026-09-25: The compiled target that serves a checkpoint, by the module’s rules: resolve_pinned when pinned_target (--kernel-target) is set, else resolve_target over all_ptx_sets(). Ok(None) when no compiled target declares the pair.