Skip to main content

forward_embryo_graph

Function forward_embryo_graph 

Source
pub fn forward_embryo_graph(
    model: &Arc<EmbryoGraphModel>,
    kv_id: u64,
    hidden: &[f32],
    position: usize,
    logits: &mut Vec<f32>,
) -> bool
Expand description

Whole-token resident graph for the Embryo working model. Unlike the generic graph this path accepts a packed f32 model and keeps both phase recurrent state and the anchor KV cache on the device. false is an honest capability refusal; callers must retain the CPU executor.