let draft model follow target model's config_format (#30152)

This commit is contained in:
Bangsheng Tang 2025-12-05 13:33:42 -08:00 committed by GitHub
parent 962d703818
commit 77e4472809
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -337,6 +337,7 @@ class SpeculativeConfig:
enforce_eager=self.target_model_config.enforce_eager,
max_logprobs=self.target_model_config.max_logprobs,
hf_overrides=SpeculativeConfig.hf_config_override,
config_format=self.target_model_config.config_format,
)
# Automatically detect the method