mirror of
https://github.com/turboderp-org/exllamav3.git
synced 2026-05-26 07:55:53 +00:00
GatedDeltaNet: Fix rewind logic
This commit is contained in:
@@ -285,6 +285,7 @@ class GDN_RecurrentState(CacheableState):
|
||||
self.last_recurrent_state[0].copy_(self.history[0, -count])
|
||||
cdim = self.last_conv_state.shape[-1]
|
||||
self.last_conv_state[0].copy_(self.conv_history[0, :, -count - cdim : -count])
|
||||
self.position -= count
|
||||
|
||||
|
||||
class GatedDeltaNet(Module):
|
||||
|
||||
Reference in New Issue
Block a user