[Spec Decode] Enable Gemma4 DSpark adaptive verification with FlashInfer (#57263)

Signed-off-by: zixi-qi <zixi@inferact.ai>
Co-authored-by: OpenAI Codex <noreply@openai.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: Nick Hill <nickhill123@gmail.com>
This commit is contained in:
qizixi
2026-09-26 17:01:17 +08:00
committed by GitHub
co-authored by OpenAI Codex Claude Opus 5.5 Nick Hill
parent 3b4566c5cf
commit a4eb3f25d6
24 changed files with 894 additions and 135 deletions
+2
View File
@@ -631,6 +631,8 @@ class SpeculativeConfig:
"dspark",
)
factors.append(uses_aux_hidden_states)
if self.method == "dspark":
factors.append(self.enable_adaptive_verification)
if self.draft_model_config is not None:
factors.append(self.draft_model_config.compute_hash())