Zymrael
commited on
Commit
·
cb37c8c
1
Parent(s):
af9abca
chore: remove flashfft dep
Browse files
model.py
CHANGED
@@ -314,9 +314,7 @@ class StripedHyena(nn.Module):
|
|
314 |
self.scratchpad = None
|
315 |
|
316 |
if config.get("use_flashfft", "False"):
|
317 |
-
|
318 |
-
|
319 |
-
self.flash_fft = FlashFFTConv(config.seqlen, dtype=torch.bfloat16)
|
320 |
else:
|
321 |
self.flash_fft = None
|
322 |
|
|
|
314 |
self.scratchpad = None
|
315 |
|
316 |
if config.get("use_flashfft", "False"):
|
317 |
+
raise NotImplementedError("Please use standalone SH code for other custom kernels")
|
|
|
|
|
318 |
else:
|
319 |
self.flash_fft = None
|
320 |
|