ple_add_highway

Function ple_add_highway 

Source
pub fn ple_add_highway(
    gpu: &dyn GpuBackend,
    kernel: KernelHandle,
    ple_out: DevicePtr,
    hidden: DevicePtr,
    n: u32,
    stream: u64,
) -> Result<()>
Expand description

2026-09-25: highway += ple_out, in FP32. The reference model (bench/qwen4_exp/ref/modeling_qwen4_exp.py) adds PLE’s output to the hidden state before that layer’s attention hyper-connection.