nx_f32_llm_cohere_test.nx
buildroot/runtime/nx_f32_llm_cohere_test.nx
about
nx_f32_llm_cohere_test.nx -- SOVEREIGN COHERENCE HARNESS: the tool that answers "is the engine actually
correct?" in one run. Feeds a longer, PREDICTABLE English prompt ("The capital of France is") and greedily
generates -- a correct forward continues in plausible English (ideally " Paris"); a broken forward emits
CJK/garbage. This decouples engine-correctness from prompt/template effects (raw short prompts like "Hi" go
out-of-distribution on an instruct model and legitimately drift). Writes decoded bytes to /tmp/nx_cohere.txt.
expect_exit: 0 license_tier: ORIGINAL module: nishi-core.llm.cohere
dependencies 21 imports · 0 importers
diagram shows first 10 each side; +11 more imports, +0 more importers in the complete lists below.
imports: nx_syscalls.nxnx_tier.nxnx_bpe.nxnx_gguf.nxnx_gguf_load.nxnx_gguf_meta.nxnx_f32.nxnx_f32_kv_cache.nxnx_f32_lazy_weight.nxnx_f32_llama_block.nxnx_f32_llama_block_v4.nxnx_f32_llama_stack_v4.nxnx_f32_llama_layer_lazy_load.nxnx_f32_llm.nxnx_f32_llm_v4.nxnx_f32_llm_read_dims.nxnx_f32_bpe_load.nxnx_f32_llm_special_tokens.nxnx_f32_sampler.nxnx_f32_llm_run_v2.nxnx_f32_llm_run_v3.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
| 29 | func pr_puts(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 30 | func pr_num(v: i64) -> i64 |
| 35 | func main() -> i64 |