Skip to main content

Module operator_compare

Module operator_compare 

Source
Expand description

Canonical comparison execution with host-specific checkpoint discovery tests.

Structs§

BatchComparisonResult
Batch scaling measurement row for EOS-042.
FfnBlockWeights
SwiGLU FFN block weights in packed GGML Q4_K format.

Functions§

compare_batch_scaling
Run multi-batch scaling comparison across batch sizes [1, 2, 4, 8] (EOS-042).
compare_single_tensor
Run single tensor comparison and return an experiment receipt (EOS-041).
execute_ffn_existing
Execute a full SwiGLU FFN block: down(silu(gate(x)) * up(x)) using existing Q4_K dequant.
execute_ffn_lookup
Execute a full SwiGLU FFN block using the new executable operator lookup runtime.
gemv_existing_q4k
Execute a single matrix multiplication using the existing dequantize-and-dot approach.
gemv_operator_lookup
Execute a single matrix multiplication using the new activation lookup approach.