mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 20:34:54 +00:00
add back warning
This commit is contained in:
parent
c6565e8259
commit
f82ae76dff
@ -84,6 +84,7 @@ try:
|
||||
HAS_FLASH_ATTN_V2_ROCM,
|
||||
)
|
||||
except ImportError as e:
|
||||
logger.warning(f"Could not import Flash Attention enabled models: {e}")
|
||||
FLASH_ATTENTION = False
|
||||
HAS_FLASH_ATTN_V2_CUDA = False
|
||||
HAS_FLASH_ATTN_V2_ROCM = False
|
||||
|
Loading…
Reference in New Issue
Block a user