Fix missing cache advance from qwen 3.5 (#1024)
This commit is contained in:
@@ -189,6 +189,7 @@ class GatedDeltaNet(nn.Module):
|
||||
|
||||
if cache is not None:
|
||||
cache[1] = state
|
||||
cache.advance(S)
|
||||
|
||||
out = self.norm(out, z)
|
||||
out = self.out_proj(out.reshape(B, S, -1))
|
||||
|
||||
Reference in New Issue
Block a user