mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-07-25 01:10:20 +00:00
Merge aeabb7b71a
into 0627983c17
This commit is contained in:
commit
2e1d1fecbe
@ -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