nx_gguf_load_model_test.nx
buildroot/runtime/nx_gguf_load_model_test.nx
about
nx_gguf_load_model_test.nx -- smoke for nx_gguf_load_model.nx.
Builds two synthetic GGUFs:
A) Full model (3 tensors): token_embd + output_norm + output
B) Tied-embedding model (2 tensors): token_embd + output_norm
(no output.weight; caller expected to reuse token_embd)
Verifies:
- Bundle struct populated correctly when all 3 tensors present
- is_output_tied flag and null output_weight when output.weight
is missing
- Verdict-range gate
dependencies 7 imports · 0 importers
imports: nx_syscalls.nxnx_tier.nxnx_le.nxnx_tensor.nxnx_gguf.nxnx_gguf_load.nxnx_gguf_load_model.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
| 24 | func _write_ti(buf: *u8, off: i64, |
| 41 | func main() -> i64 |