[Bugfix][Spec Decode] Fix GLM-5.3-Flash DFlash2/EAGLE3 aux hidden-state capture with the upstream config (#60763)
Signed-off-by: Chen Cheng <85005591+ischencheng@users.noreply.github.com> Signed-off-by: Isotr0py <Isotr0py@outlook.com> Co-authored-by: Isotr0py <Isotr0py@outlook.com>
This commit is contained in:
@@ -788,7 +788,7 @@ class Glm5NextModel(nn.Module, EagleModelMixin):
|
||||
return hidden_states
|
||||
assert residual is not None and comb is not None
|
||||
completed = self._aux_post_op(hidden_states, residual, post, comb)
|
||||
return hc_contract(completed, self.config.mhc_num_residual_streams)
|
||||
return hc_contract(completed, self.config.hc_mult)
|
||||
|
||||
def forward(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user