code wiki / (root) / nx_olmoe_recon2_gate.nx

nx_olmoe_recon2_gate.nx

buildroot/runtime/nx_olmoe_recon2_gate.nx

3554 B74 linesdepth 9pulls 18 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_olmoe_recon2_gate.nx -- recon the NON-block tensors + tokenizer metadata for OLMoE rung 5. expect_exit: 0 license_tier: ORIGINAL

dependencies 8 imports · 0 importers

nx_syscalls.nx nx_tier.nx nx_le.nx nx_tensor.nx nx_gguf.nx nx_gguf_load.nx nx_gguf_meta.nx nx_nofloat_arch.nx nx_olmoe_recon2_gate.nx

imports: nx_syscalls.nxnx_tier.nxnx_le.nxnx_tensor.nxnx_gguf.nxnx_gguf_load.nxnx_gguf_meta.nxnx_nofloat_arch.nx

imported by: nobody (leaf or entry point)

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

main r2_w sys_write sys_mmap sys_map_file sys_openat_rd sys_lseek sys_close nx_gguf_parse nx_le_read_u32 nx_le_read_u64 nx_le_read_u32 ↻ _gguf_skip_value nx_le_read_u64 ↻ nx_le_read_u32 ↻ _gguf_skip_value ↻ sys_mmap ↻ nac_read_config sys_mmap ↻ nx_gguf_meta_find nx_le_read_u64 ↻ nx_le_read_u32 ↻ _gmeta_bytes_equal nx_gguf_skip_value _gguf_skip_value ↻ nx_gguf_meta_read_string_l nx_le_read_u64 ↻ nx_gguf_meta_read_string_p nac_u32 sys_mmap ↻ nac_key nx_gguf_meta_find ↻ nx_gguf_meta_read_u32 nx_le_read_u32 ↻ isqrt nac_f32_int sys_mmap ↻ nac_key ↻ nx_gguf_meta_find ↻ f32_to_q16

structs

none

consts

none

functions

12func r2_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
13func r2_n(v: i64) -> i64
called by 2: r2_showmain calls 3: r2_wsys_mmapsys_write
26func r2_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
27func r2_show(buf: *u8, hdr: *NxGgufHeader, name: *u8) -> i64
37func r2_meta_str(buf: *u8, len: i64, hdr: *NxGgufHeader, key: *u8) -> i64
49func main() -> i64