Skip to main content

Module numerics

Module numerics 

Source
Expand description

Compatibility exports for the canonical Etalon numerical implementation.

Enums§

QwenNumericError

Functions§

add_assign
Add update into state in place, avoiding a temporary residual vector.
add_into
Copy a supplied vector into an output buffer and add a second vector. This is useful where the decoder must preserve a pre-norm residual separately.
rms_norm_into
Apply Qwen RMSNorm with a separately stored scale vector.