[WIP][CI][Bugfix] Fix test_run_eagle_dp (#38584)

Signed-off-by: Matthew Bonanni <mbonanni@redhat.com>
This commit is contained in:
Matthew Bonanni
2026-03-31 12:30:25 +02:00
committed by GitHub
parent 8278825b57
commit 7d65463528
2 changed files with 6 additions and 5 deletions
+5 -2
View File
@@ -389,8 +389,11 @@ class FlashAttentionMetadataBuilder(AttentionMetadataBuilder[FlashAttentionMetad
slot_mapping = common_attn_metadata.slot_mapping
causal = common_attn_metadata.causal
# the overhead of the aot schedule is not worth it for spec-decode
aot_schedule = self.aot_schedule and not fast_build
# Disable AOT schedule for spec-decode proposer (not worth the overhead)
# and for batch invariance (schedule varies with max_seqlen_q/k).
aot_schedule = (
self.aot_schedule and not fast_build and not envs.VLLM_BATCH_INVARIANT
)
if self.aot_sliding_window is None:
self.aot_sliding_window = (-1, -1)