Function execute_ple_block
pub fn execute_ple_block(
config: &Qwen4ExpPleConfig,
layer: &LayerTensors,
token: u32,
token_history: &mut PleTokenHistory,
ple: &mut PleNvmeReader,
trunk: &mut TrunkNvmeReader,
residual: &mut [f32],
history: &mut [f32],
buffers: &mut PleBlockBuffers<'_>,
) -> Result<(), PleBlockError>Expand description
Execute the trained PLE update inserted before the configured layer.
The residual has four contiguous hidden streams. history is nine such
residual-width entries and is advanced only after all reads and arithmetic
complete successfully.