[BugFix][CPU][Spec Decode] Fix Eagle implementation on CPU backend (#42468)

Signed-off-by: Ofir Zafrir <ofir.zafrir@intel.com>
This commit is contained in:
Ofir Zafrir
2026-05-19 03:16:07 +00:00
committed by GitHub
parent afd7b1dce9
commit 8f16c4a5c0
3 changed files with 28 additions and 21 deletions
+2
View File
@@ -111,6 +111,8 @@ class CPUModelRunner(GPUModelRunner):
logger.info_once("Loading drafter model...")
self.drafter.load_model(self.model)
self._setup_eagle3_aux_hidden_state_outputs()
def get_model(self) -> nn.Module:
return self.model