maxall4 commited on
Commit
870e350
1 Parent(s): bb6b053

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +1 -1
model.py CHANGED
@@ -343,7 +343,7 @@ class StripedHyena(nn.Module):
343
  from flashfftconv import FlashFFTConv
344
  except:
345
  raise ImportError
346
- self.flash_fft = FlashFFTConv(2 * config.seqlen, dtype=torch.bfloat16)
347
  else:
348
  self.flash_fft = None
349
 
 
343
  from flashfftconv import FlashFFTConv
344
  except:
345
  raise ImportError
346
+ self.flash_fft = FlashFFTConv(2 * config.max_seqlen, dtype=torch.bfloat16)
347
  else:
348
  self.flash_fft = None
349