mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 20:34:54 +00:00
Fix: Change model_type from ssm to mamba
This commit is contained in:
parent
a785000842
commit
0078c40e66
@ -534,7 +534,7 @@ def get_model(
|
||||
# TODO: fix how we determine model type for Mamba
|
||||
if "ssm_cfg" in config_dict:
|
||||
# *only happens in Mamba case
|
||||
model_type = "ssm"
|
||||
model_type = "mamba"
|
||||
else:
|
||||
raise RuntimeError(
|
||||
f"Could not determine model type for {model_id} revision {revision}"
|
||||
|
Loading…
Reference in New Issue
Block a user