code wiki / (root) / nx_f32_llama_block_v4_test.nx

nx_f32_llama_block_v4_test.nx

buildroot/runtime/nx_f32_llama_block_v4_test.nx

3848 B101 linesdepth 11pulls 42 transitivereach 0 importersview sourcekind gate/prooftopic f32
docsdependenciesstructsconstsfunctions

about

nx_f32_llama_block_v4_test.nx -- smoke for nx_f32_llama_block_v4.nx. All-zero F32 lazy weights -> residual identity (out == x). Same identity property as v3 block, just through the dispatcher.

dependencies 13 imports · 0 importers

nx_syscalls.nx nx_tier.nx nx_f32.nx nx_f32_rmsnorm.nx nx_f32_matmul.nx nx_f32_activations.nx nx_f32_rope.nx nx_f32_attn_multi.nx nx_f32_kv_cache.nx nx_f32_attn_cached.nx nx_f32_llama_block_v4_test.nx

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

imports: nx_syscalls.nxnx_tier.nxnx_f32.nxnx_f32_rmsnorm.nxnx_f32_matmul.nxnx_f32_activations.nxnx_f32_rope.nxnx_f32_attn_multi.nxnx_f32_kv_cache.nxnx_f32_attn_cached.nxnx_f32_lazy_weight.nxnx_f32_llama_block.nxnx_f32_llama_block_v4.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main nx_blk4_verdict_is_valid nx_f32_llama_layer_lazy_al sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ sys_mmap ↻ nx_f32_lazy_weight_new_f32 sys_mmap ↻ nx_f32_kv_cache_alloc sys_mmap ↻ nx_f32_llama_block_forward bp_t sys_now_us sys_mmap ↻ sys_clock_gettime_mono sys_mmap ↻ bp_add sys_now_us ↻ nx_f32_rmsnorm nx_i32_to_f32 nx_f32_sqrt nx_f32_classify nx_f32_exp_field nx_f32_mant_field nx_f32_sign nx_f32_exp_field ↻ nx_f32_mant_field ↻

structs

none

consts

none

functions

20func main() -> i64