Llama invocations
Published (last updated )
How to configure reasoning (thinking)
llama-cli had a new parameter called --reasoning which can be on, off
or auto. This allows you to control if a model uses thinking mode or not.
Qwen 3.8 27b
llama-server \
-hf HauhauCS/Qwen3.8-27B-Uncensored-HauhauCS-Aggressive-MTP-GGUF:Q4_K_P \
--n-gpu-layers all \
--flash-attn on \
--cache-type-k q8_0 \
--cache-type-v q8_0 \
--jinja \
--reasoning on \
--reasoning-effort xhigh \
--reasoning-preserve \
--reasoning-format deepseek \
--temp 1.0 \
--top-k 20 \
--top-p 0.95 \
--min-p 0 \
--repeat-penalty 1.0 \
--presence-penalty 0 \
--image-min-tokens 1024 \
--host 127.0.0.1 \
--port 9931
For disabling reasoning:
--reasoning off --temp 0.7 --top-p 0.8