fix(m0): pace STT partials only in the game placement
User decision (2026-11-10): without a game the STT keeps every partial pass while the LLM answers. gamemode_tune now measures the normal placement with the STT room and back-to-back STT only, and paces the 2 GB game placement (back to back as the same-run baseline, every 2 s, finals only). Docs say the slowdown applies in game mode only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -10,8 +10,8 @@ Options (--opt key=value):
|
||||
only=together the same with the STT loaded next to it and transcribing ten
|
||||
speakers at once, on the GPU and on the CPU (needs stt_python=)
|
||||
only=live game placements and the STT while the user runs a real game
|
||||
only=tune the normal placement with room left for the STT, and the STT
|
||||
doing fewer partial passes while the LLM answers
|
||||
only=tune the normal placement with room left for the STT, and in the game
|
||||
placement the STT doing fewer partial passes while the LLM answers
|
||||
stt_python=PATH the Python of the stt venv (m0.py passes it)
|
||||
"""
|
||||
|
||||
@@ -106,8 +106,10 @@ LIVE = [lv for lv in TOGETHER if lv["key"].startswith("game_")]
|
||||
# measures: one start without experts (with the STT loaded) gives what the LLM needs before any
|
||||
# expert; the experts get what is left after the STT's ten-speaker growth and a margin.
|
||||
# - The STT's partial passes took the GPU from the LLM (output 1/2.5 to 1/3). "stt_pace" is what
|
||||
# the app would do while the LLM answers: a ten-speaker partial pass every 2 s, or none, and the
|
||||
# finals at once. The LLM is measured the whole time, so the pace holds for the whole run.
|
||||
# the app would do in a game while the LLM answers: a ten-speaker partial pass every 2 s, or
|
||||
# none, and the finals at once. The LLM is measured the whole time, so the pace holds for the
|
||||
# whole run. Without a game the STT keeps every partial (user decision), so only the game
|
||||
# placement is paced; its back-to-back row is the baseline measured in the same run.
|
||||
# The 2 GB expert placement is the game minimum on a 16 GB card (faster than 0 GB in a real game).
|
||||
STT_ROOM_MARGIN_MIB = 768 # what Strata's qwen36 engine itself keeps free when it places experts
|
||||
STT_GROWTH_FALLBACK_MIB = 1440 # M0 stt on the game PC: ten speakers at once over the loaded model
|
||||
@@ -116,8 +118,7 @@ _FINALS_ONLY = {"partial_every": None, "final_every": 0.5}
|
||||
_ROOM = {"parallel": 1, "vision": "gpu", "sets": ["prefill=2048"], "stt": "cuda", "stt_room": True}
|
||||
TUNED = [
|
||||
{"key": "normal_stt_room_stt_gpu", **_ROOM},
|
||||
{"key": "normal_stt_room_partial_2s", **_ROOM, "stt_pace": _PARTIAL_2S},
|
||||
{"key": "normal_stt_room_finals_only", **_ROOM, "stt_pace": _FINALS_ONLY},
|
||||
{"key": "game_experts_2g_16k_stt_gpu", **_GAME, "context": 16384, "sets": _EXP2, "stt": "cuda"},
|
||||
{"key": "game_experts_2g_16k_partial_2s", **_GAME, "context": 16384, "sets": _EXP2, "stt": "cuda",
|
||||
"stt_pace": _PARTIAL_2S},
|
||||
{"key": "game_experts_2g_16k_finals_only", **_GAME, "context": 16384, "sets": _EXP2, "stt": "cuda",
|
||||
|
||||
Reference in New Issue
Block a user