code wiki / zimage

topic: zimage

19 modules sharing the zimage name family (derived from the tree's prefix discipline).

The **zimage** topic family in the Nishi sovereign ecosystem provides tools for processing and verifying Z-Image data, ensuring fidelity to the oracle across various operations. Modules like **nx_zimage_adaln_verify** and **nx_zimage_attn_verify** ensure modulation and attention mechanisms align with expected outputs, while **nx_zimage_ffn_swiglu_verify** confirms the correctness of specialized gate functions within the FFN pipeline. These modules collectively enable precise, sovereign validation of Z-Image components, supporting reliable model inference and data integrity.

auto-narrated by the local model from this topic's module headers; links verified against the wiki index.

narrated overview -- maintained by the narration lane, module links verified against this wiki.

moduledescriptionlinesfuncs
nx_zimage_adaln_verify.nxSOVEREIGN Z-Image block piece #1: adaLN modulation, verified vs the oracle.982
nx_zimage_attn_verify.nxSOVEREIGN Z-Image block piece #2: JointAttention, verified vs the oracle.2054
nx_zimage_dequant_block.nxdequant a block of REAL Z-Image weight DATA into f32, sovereignly.922
nx_zimage_ffn_down_verify.nxSOVEREIGN Z-Image FFN sub-piece c (final): down-proj + norm + gate + residual.1103
nx_zimage_ffn_norm_verify.nxSOVEREIGN Z-Image FFN sub-piece a: pre-FFN norm, verified vs oracle.822
nx_zimage_ffn_swiglu_verify.nxSOVEREIGN Z-Image FFN sub-piece b: SwiGLU gate, verified vs oracle.932
nx_zimage_flashattn_verify.nxSOVEREIGN FlashAttention (online-softmax) SDPA, verified EXACT vs oracle.1552
nx_zimage_gguf_arch.nxextract the REAL Z-Image text-encoder architecture from its GGUF, sovereignly.1474
nx_zimage_gguf_probe.nxread the REAL Z-Image text-encoder GGUF structure, sovereignly.591
nx_zimage_layout.nxdump the REAL Z-Image/Qwen GGUF tensor layout (offsets/dims/types), sovereignly.713
nx_zimage_outproj_verify.nxSOVEREIGN Z-Image attention sub-piece 2d: output projection, verified.812
nx_zimage_qknorm_verify.nxSOVEREIGN Z-Image attention sub-piece 2b: QK-RMSNorm + RoPE, verified.1253
nx_zimage_qkv_verify.nxSOVEREIGN Z-Image attention SUB-piece 2a: qkv projection, verified vs oracle.902
nx_zimage_real_op.nxrun a REAL Z-Image weight vector through a REAL sovereign op, end-to-end.951
nx_zimage_real_proj.nxa REAL Qwen transformer projection on REAL weights, sovereignly.1052
nx_zimage_real_qkv.nxREAL Qwen layer-0 Q/K/V projections on REAL weights, sovereignly.1143
nx_zimage_sdpa_verify.nxSOVEREIGN Z-Image attention sub-piece 2b+2c: qk-norm+rope+SDPA, verified.1593
nx_zimage_sdpaonly_verify.nxSOVEREIGN Z-Image attention sub-piece 2c: SDPA, verified vs oracle.1312
nx_zimage_weights.nxthe LAYER-WEIGHT RESOLVER: (layer L, slot k) -> where that tensor lives.1834