[Rebase] Rebase to vllm v0.24.0 (#4709)
This commit is contained in:
1 parent
9a105bf90d
commit
a560ed184d
60 files changed
+789
-203
No files matched your search
@@ -72,6 +72,10 @@ class TestHiggsAudioV3OnlineHappyPath:
|
||||
"stream": False,
|
||||
"response_format": "wav",
|
||||
"timeout": DEFAULT_SPEECH_TIMEOUT_S,
|
||||
# whisper-small mishears this short clip ~0.5% of the time; on a
|
||||
# failed match re-verify with this stronger ASR before failing so
|
||||
# the gate is not flaky. Local-only key (not forwarded to server).
|
||||
"transcript_escalation_model": "large-v3",
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@@ -40,11 +40,21 @@ def get_batch_token_config(default_path):
|
||||
Uses the new flat-stage schema (``stages.<id>.<field>``); the legacy
|
||||
``stage_args.<id>.engine_args.<field>`` path no longer applies because
|
||||
the deploy YAML doesn't nest engine fields under ``engine_args:``.
|
||||
|
||||
Note:
|
||||
64 was the original value but caused a GPU hang (NVIDIA watchdog killed
|
||||
the process after ~2 s) when 5 concurrent requests arrived, due to an
|
||||
upstream scheduler change (``throttle_prefills`` API in vLLM commit
|
||||
0b131b16c). 512 was first tried but caused output quality degradation for
|
||||
long audio (~120 s) inputs. 2048 gives the scheduler enough token budget
|
||||
to handle 5 concurrent requests even with multi-second audio prefill,
|
||||
while still being well below the default 32768.
|
||||
If the upstream scheduler changes again, this value may need adjustment.
|
||||
"""
|
||||
return modify_stage_config(
|
||||
default_path,
|
||||
updates={
|
||||
"stages": {0: {"max_num_batched_tokens": 64}, 1: {"max_num_batched_tokens": 64}},
|
||||
"stages": {0: {"max_num_batched_tokens": 2048}, 1: {"max_num_batched_tokens": 2048}},
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user