From 6f034d989f8c95a4c5795a44c6ecf5e57d713610 Mon Sep 17 00:00:00 2001 From: baKon Date: Wed, 28 Oct 2026 02:58:23 -0500 Subject: [PATCH] config: list the decode-hot options and spell --draft-expert-placement as a word --- core/config.cpp | 2 +- tests/config_test.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/core/config.cpp b/core/config.cpp index 0bacce6a..d8ce58c5 100644 --- a/core/config.cpp +++ b/core/config.cpp @@ -305,7 +305,7 @@ static const Flag g_flags[] = { { "--expert-pin-top", "F", "pin the hottest fraction F of the routed experts (0 < F <= 1) by\n" " --expert-profile's share: heat never demotes them, so the decode-hot\n" " set stays resident while the rest streams. 0 is off" }, - { "--draft-expert-placement", "auto|host", "where a draft head's (MTP/DSpark) routed experts live.\n" + { "--draft-expert-placement", "PLACEMENT", "where a draft head's (MTP/DSpark) routed experts live.\n" " `host` pins them in the host pool before any strategy runs, read in\n" " place like a pooled expert: the drafter's experts fit beside a trunk\n" " that already fills the card, instead of the strategy having to make\n" diff --git a/tests/config_test.cpp b/tests/config_test.cpp index c3e91a98..de575c83 100644 --- a/tests/config_test.cpp +++ b/tests/config_test.cpp @@ -466,6 +466,8 @@ const std::map>& legal_values() { { "--video-max-frame-tokens", { "70" } }, { "--image-tokens", { "280" } }, { "--max-source-pixels", { "1000000" } }, { "--expert-stats", { "/s/experts.json" } }, + { "--expert-profile", { "/p.json" } }, { "--expert-pin-top", { "0.2" } }, + { "--draft-expert-placement", { "host" } }, { "--kld-record", { "/r", "--kld-corpus", "/c.jsonl" } }, { "--kld-ref", { "/r" } }, { "--kld-corpus", { "/c.jsonl", "--kld-record", "/r" } }, { "--kld-out", { "/o.json", "--kld-ref", "/r" } },