mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-06-19 15:52:08 +00:00
Merge aeabb7b71a
into 0627983c17
This commit is contained in:
commit
2e1d1fecbe
@ -189,9 +189,12 @@ if FLASH_ATTENTION:
|
|||||||
__all__.append(IdeficsCausalLM)
|
__all__.append(IdeficsCausalLM)
|
||||||
|
|
||||||
MAMBA_AVAILABLE = True
|
MAMBA_AVAILABLE = True
|
||||||
try:
|
if SYSTEM == "cpu":
|
||||||
|
MAMBA_AVAILABLE = False
|
||||||
|
else:
|
||||||
|
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:
|
||||||
log_master(logger.warning, f"Could not import Mamba: {e}")
|
log_master(logger.warning, f"Could not import Mamba: {e}")
|
||||||
MAMBA_AVAILABLE = False
|
MAMBA_AVAILABLE = False
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user