code wiki / (root) / nx_zimage_real_op.nx

nx_zimage_real_op.nx

buildroot/runtime/nx_zimage_real_op.nx

3906 B95 linesdepth 8pulls 20 transitivereach 0 importersview sourcekind orphan librarytopic zimage
docsdependenciesstructsconstsfunctions

about

nx_zimage_real_op.nx -- run a REAL Z-Image weight vector through a REAL sovereign op, end-to-end. sd-server -> Nishi migration: closes the last conceptual link before the full-scale assembly -- proves ACTUAL Z-Image weights flow through our GATED f32 organs and produce a CORRECT result. Dequantizes a full embedding ROW (2560 real Q6_K values = the complete embedding of token 0) with our `nx_q6_k_to_f32`, then RMS-normalizes it with our gated `nx_f32_rmsnorm`, and verifies the output is finite with mean(out^2) ~ 1 (the defining RMSNorm invariant). Real weights -> real op -> correct output, all sovereign, no third-party. license_tier: ORIGINAL

dependencies 15 imports · 0 importers

nx_syscalls.nx nx_tier.nx nx_le.nx nx_strconv.nx nx_tensor.nx nx_gguf.nx nx_gguf_load.nx nx_gguf_meta.nx nx_placement.nx nx_gguf_load_lazy.nx nx_zimage_real_op.nx

diagram shows first 10 each side; +5 more imports, +0 more importers in the complete lists below.

imports: nx_syscalls.nxnx_tier.nxnx_le.nxnx_strconv.nxnx_tensor.nxnx_gguf.nxnx_gguf_load.nxnx_gguf_meta.nxnx_placement.nxnx_gguf_load_lazy.nxnx_q6_k_to_f32.nxnx_f32.nxnx_f32_div.nxnx_f32_cvt.nxnx_f32_rmsnorm.nx

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

25func main() -> i64