[Bugfix][Model] Attempt to fix eagle in V0. (#18978)
Signed-off-by: Gregory Shtrasberg <Gregory.Shtrasberg@amd.com>
This commit is contained in:
committed by
GitHub
parent
20133cfee2
commit
ca2f6b9c30
@@ -2595,7 +2595,8 @@ class SpeculativeConfig:
|
|||||||
else:
|
else:
|
||||||
eagle_config = EAGLEConfig(
|
eagle_config = EAGLEConfig(
|
||||||
self.draft_model_config.hf_config,
|
self.draft_model_config.hf_config,
|
||||||
method=self.method)
|
method=self.method,
|
||||||
|
model_type="eagle")
|
||||||
self.draft_model_config.hf_config = eagle_config
|
self.draft_model_config.hf_config = eagle_config
|
||||||
|
|
||||||
if (self.num_speculative_tokens is not None
|
if (self.num_speculative_tokens is not None
|
||||||
|
|||||||
Reference in New Issue
Block a user