Repository navigation
Closed
Description
Unsloth uses the --chat-template-kwargs arg on some llama-server calls.
Using that arg directly on llama-server reveals, that it is deprecated. --reasoning is the replacement arg.
{"timestamp": "2026-07-27T22:14:35.782570Z", "level": "info", "event": "Using mmproj for vision: E:\\hf_cache\\hub\\hub\\models--prism-ml--Bonsai-27B-gguf\\snapshots\\f10afb355f104535e3e3e98cf7ab7795c72bd292\\Bonsai-27B-mmproj-BF16.gguf"}
{"timestamp": "2026-07-27T22:14:35.782883Z", "level": "info", "event": "Starting llama-server: C:\\Users\\foo-user\\.unsloth\\llama.cpp\\build\\bin\\Release\\llama-server.exe -m E:\\hf_cache\\hub\\hub\\models--prism-ml--Bonsai-27B-gguf\\snapshots\\f10afb355f104535e3e3e98cf7ab7795c72bd292\\Bonsai-27B-Q1_0.gguf --port 49386 --parallel 1 --flash-attn on --no-context-shift -c 29696 --alias prism-ml/Bonsai-27B-gguf -ngl -1 --fit off --metrics --slot-save-path C:\\Users\\foo-user\\.unsloth\\studio\\cache\\llama-slots --threads 2 --jinja --spec-default --chat-template-kwargs {\"enable_thinking\": true, \"preserve_thinking\": false} --mmproj E:\\hf_cache\\hub\\hub\\models--prism-ml--Bonsai-27B-gguf\\snapshots\\f10afb355f104535e3e3e98cf7ab7795c72bd292\\Bonsai-27B-mmproj-BF16.gguf --cache-ram 0 --ctx-checkpoints 0 --device Vulkan0"}
{"timestamp": "2026-07-27T22:14:35.784605Z", "level": "info", "event": "llama-server stdout/stderr -> C:\\Users\\foo-user\\.unsloth\\studio\\logs\\llama-server\\llama-1785190475-port-49386-try0.log"}
{"timestamp": "2026-07-27T22:14:59.384345Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/auth/status", "status_code": 200, "process_time_ms": 29.58}
PS C:\Users\foo-user> C:\\Users\\foo-user\\.unsloth\\llama.cpp\\build\\bin\\Release\\llama-server.exe -m E:\\hf_cache\\hub\\hub\\models--prism-ml--Bonsai-27B-gguf\\snapshots\\f10afb355f104535e3e3e98cf7ab7795c72bd292\\Bonsai-27B-Q1_0.gguf --port 62439 --parallel 1 --flash-attn on --no-context-shift -c 29696 --alias prism-ml/Bonsai-27B-gguf -ngl auto --fit on --metrics --slot-save-path C:\\Users\\foo-user\\.unsloth\\studio\\cache\\llama-slots --threads 2 --jinja --spec-default --chat-template-kwargs '{\"enable_thinking\": true, \"preserve_thinking\": false}' --ctx-checkpoints 0 --device Vulkan0,Vulkan1 --split-mode layer
0.00.197.917 W Setting 'enable_thinking' via --chat-template-kwargs is deprecated. Use --reasoning on / --reasoning off instead.
0.00.222.820 I cmn common_param: common_params_print_info: verbosity = 3 (adjust with the `-lv N` CLI arg)
0.00.226.545 W srv llama_server: -----------------
0.00.226.553 W srv llama_server: CORS is set to allow all origins ('*') and no API key is set
0.00.226.554 W srv llama_server: this can be a security risk (cross-origin attacks)
0.00.226.556 W srv llama_server: more info: https://github.com/ggml-org/llama.cpp/pull/25655
0.00.226.557 W srv llama_server: -----------------
0.00.235.767 I srv load_model: loading model 'E:\\hf_cache\\hub\\hub\\models--prism-ml--Bonsai-27B-gguf\\snapshots\\f10afb355f104535e3e3e98cf7ab7795c72bd292\\Bonsai-27B-Q1_0.gguf'
0.11.620.165 I srv load_model: initializing, n_slots = 1, n_ctx_slot = 29696, kv_unified = 'false'
0.11.677.035 I srv init: chat template supports preserving reasoning, consider enabling it via --reasoning-preserve
0.11.677.075 I srv llama_server: model loaded
0.11.677.078 I srv llama_server: listening on http://127.0.0.1:62439
0.18.339.958 I slot get_availabl: id 0 | task -1 | selected slot by LRU, t_last = -1
0.18.340.752 I slot launch_slot_: id 0 | task 0 | processing task, is_child = 0
0.35.845.208 I slot print_timing: id 0 | task 0 | n_decoded = 100, tg = 6.05 t/s, tg_3s = 6.05 t/s
Metadata
Metadata
Assignees
Labels
No labels
Activity
[-][Misc] --chat-template-kwargs is deprecated, use instead --reasoning[/-][+][Misc] `--chat-template-kwargs` is deprecated, use instead `--reasoning`[/+][-][Misc] `--chat-template-kwargs` is deprecated, use instead `--reasoning`[/-][+]`--chat-template-kwargs` is deprecated, use instead `--reasoning`[/+]test(studio): spawn real llama-server to verify no enable_thinking de…
fix(studio): keep preserve_thinking=false in launch kwargs (unslothai…
fix(studio): align reasoning-extra stale check with inherit strip (un…
fix(studio): keep user --reasoning extras across template inherit (un…
fix(studio): use reasoning launch flag (unslothai#7526)
fix(studio): use reasoning launch flag (unslothai#7526)
fix(studio): use reasoning launch flag (unslothai#7526)
fix(studio): use reasoning launch flag (unslothai#7526)