Skip to content

Commit 23fb111

Browse files
rahul-tuliclaude
andcommitted
fix: Add method field to speculators Eagle config for V1 compatibility
- Set method='eagle' in vllm_config to ensure proper model detection - This field is required by EAGLEConfig parent class - Helps with future V1 engine compatibility 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 1616dba commit 23fb111

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vllm/transformers_utils/configs/speculators_eagle.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ def _convert_speculators_to_vllm(cls, speculators_config: dict) -> dict:
8888
"model": transformer_config,
8989
"eagle_fc_bias": speculators_config.get("fusion_bias", False),
9090
"truncated_vocab_size": transformer_config.get("vocab_size"),
91+
"method": "eagle", # Required for V1 compatibility
9192
}
9293

9394
# Preserve any additional fields that might be needed

0 commit comments

Comments
 (0)