Skip to content

armgit / sie

Public Imported from GitHub
0

Open-source inference server and production cluster for all the models your agent needs.

fix(models): raise the Muse Glimmer default output budget to 16,384 tokens (#897)

Shai Shmuel06b10dc1594c
diff --git a/packages/sie_server/models/meta-models__Muse-Glimmer-30B.yaml b/packages/sie_server/models/meta-models__Muse-Glimmer-30B.yaml
index cc1fc42ec..200b28dec 100644
--- a/packages/sie_server/models/meta-models__Muse-Glimmer-30B.yaml
+++ b/packages/sie_server/models/meta-models__Muse-Glimmer-30B.yaml
@@ -13,8 +13,11 @@ inputs:
video: false
tasks:
generate:
- context_length: 8192
- max_output_tokens: 4096
+ context_length: 32768
+ # Private reasoning shares this budget. Of 198 GPQA-Diamond questions on H100,
+ # 124 finished inside 4,096 tokens and 187 inside 16,384, and accuracy rose from
+ # 0.57 to 0.81.
+ max_output_tokens: 16384
# The chat template has no switch that turns reasoning off and never reads
# enable_thinking. Declaring it true marks that reasoning private.
chat_template_kwargs:
@@ -23,11 +26,11 @@ tasks:
grammar: ["json_schema", "regex"]
streaming: true
tools: true
-max_sequence_length: 8192
+max_sequence_length: 32768
profiles:
default:
- max_batch_tokens: 16384
- kv_budget_tokens: 8192
+ max_batch_tokens: 32768
+ kv_budget_tokens: 65536
compute_precision: bfloat16
adapter_path: sie_server.adapters.sglang.cuda13:SGLangMuseAdapter
adapter_options:
@@ -49,7 +52,9 @@ profiles:
draft_model: meta-models/Muse-Glimmer-30B-assistant
draft_model_revision: c676cce91658f9568aaf264a416211e2782735b7
runtime:
- first_chunk_timeout_s: 90
+ # Private reasoning sends no chunks, so the first one can arrive as late as
+ # the end of the output budget. At 90 s, requests still reasoning got a 504.
+ first_chunk_timeout_s: 600
inter_chunk_timeout_s: 15
overall_timeout_s: 600
# The model card's recommended sampling.
diff --git a/packages/sie_server/tests/config/test_muse_glimmer_profiles.py b/packages/sie_server/tests/config/test_muse_glimmer_profiles.py
index f39c09395..e4b2fb039 100644
--- a/packages/sie_server/tests/config/test_muse_glimmer_profiles.py
+++ b/packages/sie_server/tests/config/test_muse_glimmer_profiles.py
@@ -101,7 +101,7 @@ def test_muse_glimmer_launches_the_engine_with_its_parsers_and_no_remote_code(
assert cmd[cmd.index("--reasoning-parser") + 1] == "muse"
assert cmd[cmd.index("--grammar-backend") + 1] == "xgrammar"
assert "--trust-remote-code" not in cmd
- assert cmd[cmd.index("--context-length") + 1] == "8192"
+ assert cmd[cmd.index("--context-length") + 1] == "32768"
assert cmd[cmd.index("--speculative-algorithm") + 1] == "DFLASH"
assert cmd[cmd.index("--speculative-draft-model-path") + 1] == "meta-models/Muse-Glimmer-30B-assistant"
assert len(cmd[cmd.index("--speculative-draft-model-revision") + 1]) == 40
@@ -239,4 +239,7 @@ def test_native_window_profile_keeps_the_default_launch_shape() -> None:
assert native.loadtime["reasoning_parser"] == "muse"
assert native.runtime["stop_tokens"] == ["<|eot|>"]
assert native.runtime["default_sampling"] == default.runtime["default_sampling"]
- assert default.kv_budget_tokens == 8192
+ assert default.kv_budget_tokens == 65536
+ assert config.tasks.generate.max_output_tokens == 16384
+ # Reasoning stays private, so the first chunk can take the whole output budget.
+ assert default.runtime["first_chunk_timeout_s"] == default.runtime["overall_timeout_s"]