nx_zimage_qkv_verify.nx
buildroot/runtime/nx_zimage_qkv_verify.nx
about
nx_zimage_qkv_verify.nx -- SOVEREIGN Z-Image attention SUB-piece 2a: qkv projection, verified vs oracle.
Small dedicated organ (the 285KB combined attention segfaults -> split into per-sub-step organs, each
small enough to dodge the codegen issue; piece #1 adaLN proved small organs verify cleanly). Computes
qkv = h_attn @ qkv_w^T [4,11520] sovereignly (f32) and verifies vs the oracle's dumped qkv.
license_tier: ORIGINAL
dependencies 6 imports · 0 importers
imports: nx_syscalls.nxnx_le.nxnx_f32.nxnx_f32_div.nxnx_f32_cvt.nxnx_strconv.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 13 | const K_MAGIC_3840: i64 = 3840 |
| 14 | const K_MAGIC_11520: i64 = 11520 |
functions
| 16 | func zqv_load(name: *u8, nl: i64, n_floats: i64) -> *u8 |
| 43 | func main() -> i64 |