nx_qwen_blk0_types.nx
buildroot/runtime/nx_qwen_blk0_types.nx
about
nx_qwen_blk0_types.nx -- dump the ggml_type + dims of every blk.0 weight of the real Q4_K_M Qwen.
Grounds the integer-layer plan: Q4_K_M mixes quant types per tensor, and our integer linear
(nx_q4k_linear) only handles Q4_K (12). This says which blk.0 weights are integer-able (Q4_K=12) vs
need the f32 path (Q6_K=14 / F32=0). Metadata parse only (bounded 96MB prefix; tensor infos are at the
file start), so no 1.1GB data read. -> /tmp/qwen_blk0_types.txt
license_tier: ORIGINAL
dependencies 10 imports · 0 importers
imports: nx_syscalls.nxnx_tier.nxnx_le.nxnx_strconv.nxnx_tensor.nxnx_gguf.nxnx_gguf_load.nxnx_gguf_meta.nxnx_placement.nxnx_gguf_load_lazy.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 19 | func ty_emit(fd: i64, name: *u8, name_len: i64, ty: i64, d0: i64, d1: i64) -> i64 |
| 47 | func ty_dump(fd: i64, hdr: *NxGgufHeader, name: *u8, name_len: i64) -> i64 |
| 54 | func main() -> i64 |