mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-04-10 20:07:04 +08:00
dummy run corner case (#29433)
This commit is contained in:
parent
d8819c88eb
commit
12866af748
@ -2789,7 +2789,7 @@ class GPUModelRunner(
|
||||
# returns True. before returning early here we call
|
||||
# dummy run to ensure coordinate_batch_across_dp
|
||||
# is called into to avoid out of sync issues.
|
||||
self._dummy_run(1)
|
||||
self._dummy_run(self._get_num_input_tokens(1))
|
||||
if not has_kv_transfer_group():
|
||||
# Return empty ModelRunnerOutput if no work to do.
|
||||
return EMPTY_MODEL_RUNNER_OUTPUT
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user