Sin2pi commited on
Commit
bebb811
·
verified ·
1 Parent(s): 43e5c63

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +1 -1
model.py CHANGED
@@ -943,7 +943,7 @@ class TextDecoder(nn.Module):
943
  # x = self.rotary.apply_rotary(x, freqs)
944
 
945
  for block in self.block:
946
- x = block(x, xa=None, mask=mask, enc=enc, layer=layer)
947
 
948
  for f in order:
949
  if f in enc:
 
943
  # x = self.rotary.apply_rotary(x, freqs)
944
 
945
  for block in self.block:
946
+ x = block(x, xa=None, mask=mask, enc=None, layer=layer)
947
 
948
  for f in order:
949
  if f in enc: