Skip to content

b11154

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 24 Sep 06:48
4c5957c

test-save-load-state : print a per-model results table in --models mode (#29316)

  • test-save-load-state : print a per-model results table in --models mode

in --models mode the output was very heavy: every model printed its
token dumps, per-test headers and PASS lines. instead, silence all
logging except the table itself (common_log_set_verbosity_thold(0)
leaves only LOG / LOG_LEVEL_OUTPUT) and print one row per model with
one column per test, colored PASS/FAIL/SKIP cells, row by row.

  • run_save_load_tests_for_model returns a test_suite with a dynamic
    std::vector<test_status> and continues past failures: tests 3-5 are
    SKIPped when the baseline (test 1) fails, model init failure skips all
  • per-test token dumps, test headers and PASS lines are demoted to
    LOGV(LOG_LEVEL_INFO, ...) so they still show in single-model mode
  • the table header/rows derive their columns from test_names; the
    model name is printed and flushed before the suite runs so the model
    currently in flight is always visible
  • single-model output and exit codes are unchanged

Assisted-by: pi:llama.cpp/Qwen3.8-27B

  • test-save-load-state : print example usage on -h

add a print_usage callback passed to common_params_parse, so -h/--help
also shows example commands for the tool-specific --models option and
the -lv verbosity level

Assisted-by: pi:llama.cpp/Qwen3.8-27B

  • test-save-load-state : remove comments

ref: #29316

Assisted-by: pi:llama.cpp/Qwen3.8-27B

Website:

Attestations:

macOS/iOS:

Linux:

Android:

Windows:

openEuler:

  • DISABLED
  • openEuler x86 (310p)
  • openEuler x86 (910b, ACL Graph)
  • openEuler aarch64 (310p)
  • openEuler aarch64 (910b, ACL Graph)

UI: