| 275 | print_cli_diagnostics(fp, c); |
| 276 | } |
| 277 | } |
| 278 | |
| 279 | static void print_cli_diagnostics(FILE *fp, const help_colors *c) { |
| 280 | title(fp, c, "Diagnostics And Data Collection"); |
| 281 | opt(fp, c, "--inspect", "Load the model and print a summary only."); |
| 282 | opt(fp, c, "--dump-tokens", "Print the exact CLI prompt token stream, then exit. Use --raw for literal text."); |
| 283 | opt(fp, c, "--dump-logits FILE", "Write full next-token logits as JSON."); |
| 284 | opt(fp, c, "--dump-logprobs FILE", "Write greedy continuation top-logprobs as JSON."); |
| 285 | opt(fp, c, "--logprobs-top-k N", "Alternatives stored by --dump-logprobs. Default: 20"); |
| 286 | opt(fp, c, "--decode-consistency N", "Compare N-token decode logits with a fresh full prefill."); |
| 287 | opt(fp, c, "--expert-profile FILE", "Metal-only: write routed expert locality/cache simulation JSON."); |
| 288 | opt(fp, c, "--perplexity-file FILE", "Score raw text with teacher-forced NLL."); |
no test coverage detected