mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-09 03:14:53 +00:00
Merge aeabb7b71a
into 356de85c29
This commit is contained in:
commit
8c8bf7bcb8
@ -189,6 +189,9 @@ if FLASH_ATTENTION:
|
|||||||
__all__.append(IdeficsCausalLM)
|
__all__.append(IdeficsCausalLM)
|
||||||
|
|
||||||
MAMBA_AVAILABLE = True
|
MAMBA_AVAILABLE = True
|
||||||
|
if SYSTEM == "cpu":
|
||||||
|
MAMBA_AVAILABLE = False
|
||||||
|
else:
|
||||||
try:
|
try:
|
||||||
from text_generation_server.models.mamba import Mamba
|
from text_generation_server.models.mamba import Mamba
|
||||||
except ImportError as e:
|
except ImportError as e:
|
||||||
|
Loading…
Reference in New Issue
Block a user