unsloth/studio/backend/core
Daniel Han 4c86ee4bff Studio: default llama-server --threads to -1 (auto)
Previously we passed --threads only when the caller set an explicit
value, which meant llama-server fell back to its internal default.
That default has varied across llama.cpp builds (some versions use
hardware concurrency including hyperthreads, which hurts throughput on
CPU-heavy inference). Always passing --threads -1 pins the behaviour
to llama.cpp's auto-detect (physical cores).

Caller-supplied n_threads still wins when non-None.
2026-04-24 16:17:35 +00:00
..
data_recipe Add tauri (#5144) 2026-04-23 04:50:10 -07:00
export studio: stream export worker output into the export dialog (#4897) 2026-04-14 08:55:43 -07:00
inference Studio: default llama-server --threads to -1 (auto) 2026-04-24 16:17:35 +00:00
training Add tauri (#5144) 2026-04-23 04:50:10 -07:00
__init__.py [Studio] Show non exported models in chat UI (#4892) 2026-04-14 15:03:58 +04:00