mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-10 11:54:52 +00:00
explicit
This commit is contained in:
parent
7c16352d1e
commit
1e41a53770
@ -33,7 +33,7 @@ try:
|
||||
supported = is_sm75 or is_sm8x or is_sm90
|
||||
if not supported:
|
||||
raise ImportError(f"GPU with CUDA capability {major} {minor} is not supported")
|
||||
FLASH_ATTENTION = supported
|
||||
FLASH_ATTENTION = True
|
||||
else:
|
||||
FLASH_ATTENTION = False
|
||||
except ImportError:
|
||||
|
Loading…
Reference in New Issue
Block a user