jboth commited on
Commit
cae3cfb
·
verified ·
1 Parent(s): a51525f

Upload flash_attn_stub/flash_attn/__init__.py with huggingface_hub

Browse files
flash_attn_stub/flash_attn/__init__.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """flash_attn stub – not available on ZeroGPU."""
2
+ def flash_attn_varlen_qkvpacked_func(*a, **kw):
3
+ raise NotImplementedError("flash_attn stub")
4
+ def flash_attn_varlen_kvpacked_func(*a, **kw):
5
+ raise NotImplementedError("flash_attn stub")
6
+ def flash_attn_varlen_func(*a, **kw):
7
+ raise NotImplementedError("flash_attn stub")
8
+ def flash_attn_qkvpacked_func(*a, **kw):
9
+ raise NotImplementedError("flash_attn stub")
10
+ def flash_attn_kvpacked_func(*a, **kw):
11
+ raise NotImplementedError("flash_attn stub")
12
+ def flash_attn_func(*a, **kw):
13
+ raise NotImplementedError("flash_attn stub")