This commit is contained in:
Gerard Casas Saez 2025-06-17 09:44:06 -05:00 committed by GitHub
commit 2e1d1fecbe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -189,6 +189,9 @@ if FLASH_ATTENTION:
__all__.append(IdeficsCausalLM)
MAMBA_AVAILABLE = True
if SYSTEM == "cpu":
MAMBA_AVAILABLE = False
else:
try:
from text_generation_server.models.mamba import Mamba
except ImportError as e: