code wiki / (root) / nx_f32_llm_dim_dump_test.nx

nx_f32_llm_dim_dump_test.nx

buildroot/runtime/nx_f32_llm_dim_dump_test.nx

4878 B101 linesdepth 6pulls 11 transitivereach 0 importersview sourcekind gate/prooftopic f32
docsdependenciesstructsconstsfunctions

about

nx_f32_llm_dim_dump_test.nx -- dump attn_k.weight tensor dimensions to /tmp/nx_gguf_dims.tsv to verify ggml's storage convention.

dependencies 6 imports · 0 importers

nx_syscalls.nx nx_tier.nx nx_le.nx nx_strconv.nx nx_gguf.nx nx_gguf_load.nx nx_f32_llm_dim_dump_test.nx

imports: nx_syscalls.nxnx_tier.nxnx_le.nxnx_strconv.nxnx_gguf.nxnx_gguf_load.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read 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 ↻ sys_openat_wr nx_gguf_find_tensor nx_gguf_tensor_at nx_gguf_name_equals nx_gguf_tensor_at ↻ _emit_kv sys_mmap ↻ nx_strconv_format_i64 sys_write sys_close ↻

structs

none

consts

none

functions

11func _emit_kv(fd: i64, key: *u8, key_len: nx_int, value: i64) -> i64
25func main() -> i64