[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:
co-authored by
OpenAI Codex
Claude Opus 5.5
Nick Hill
parent
3b4566c5cf
commit
a4eb3f25d6
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user