Skip to content

Commit 95eb570

Browse files
committed
fix condition
Signed-off-by: Dipika Sikka <dipikasikka1@gmail.com>
1 parent f25048d commit 95eb570

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vllm/config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3178,7 +3178,8 @@ def _verify_args(self) -> Self:
31783178
from vllm.transformers_utils.configs import SpeculatorsConfig
31793179

31803180
eagle3_target_supported = ["llama"]
3181-
if isinstance(self.draft_model_config.hf_config, SpeculatorsConfig):
3181+
if self.draft_model_config and isinstance(
3182+
self.draft_model_config.hf_config, SpeculatorsConfig):
31823183
eagle3_target_supported.append("qwen")
31833184

31843185
if self.method == "eagle3" and self.target_model_config and not any(

0 commit comments

Comments
 (0)