mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-06-19 15:52:08 +00:00
disable mamba in CPU
This commit is contained in:
parent
3752143b39
commit
aeabb7b71a
@ -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