[Async][Spec Decoding] Zero-bubble async scheduling + spec decoding (#32951)
Signed-off-by: zhuhaoran <zhuhaoran.zhr@alibaba-inc.com> Signed-off-by: Matthew Bonanni <mbonanni@redhat.com> Signed-off-by: Lucas Wilkinson <lwilkins@redhat.com> Co-authored-by: zhuhaoran <zhuhaoran.zhr@alibaba-inc.com> Co-authored-by: zhrrr <43847754+izhuhaoran@users.noreply.github.com> Co-authored-by: Lucas Wilkinson <lwilkins@redhat.com> Co-authored-by: Benjamin Chislett <chislett.ben@gmail.com>
This commit is contained in:
co-authored by
zhuhaoran
zhrrr
Lucas Wilkinson
Benjamin Chislett
parent
ffb5b32b5f
commit
fafe76b4af
@@ -766,6 +766,19 @@ class VllmConfig: # type: ignore[misc]
|
||||
else:
|
||||
self.parallel_config.disable_nccl_for_dp_synchronization = False
|
||||
|
||||
if (
|
||||
self.speculative_config is not None
|
||||
and self.scheduler_config.async_scheduling
|
||||
and self.model_config is not None
|
||||
and not self.model_config.disable_cascade_attn
|
||||
):
|
||||
logger.warning_once(
|
||||
"Disabling cascade attention (not yet compatible with "
|
||||
"async speculative decoding).",
|
||||
scope="local",
|
||||
)
|
||||
self.model_config.disable_cascade_attn = True
|
||||
|
||||
if (
|
||||
self.model_config is not None
|
||||
and self.model_config.multimodal_config is not None
|
||||
|
||||
Reference in New Issue
Block a user