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 41 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 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 ↻ _f32_isqrt nx_f32_lazy_matmul nx_f32_matmul_t_pool sys_mmap ↻ nx_pool_n_completed nx_atom_load_i64 nx_pool_submit nx_atom_faa_i64 nx_chan_send nx_chan_try_send nx_thread_yield _pool_futex_wake_all sys_futex_wake nx_pool_wait

structs

none

consts

none

functions

20func main() -> i64