Fix: Change model_type from ssm to mamba (#2740)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-135.us-west-2.compute.internal>
This commit is contained in:
parent
8442f1ac85
commit
f9ee46f740
|
@ -534,7 +534,7 @@ def get_model(
|
||||||
# TODO: fix how we determine model type for Mamba
|
# TODO: fix how we determine model type for Mamba
|
||||||
if "ssm_cfg" in config_dict:
|
if "ssm_cfg" in config_dict:
|
||||||
# *only happens in Mamba case
|
# *only happens in Mamba case
|
||||||
model_type = "ssm"
|
model_type = "mamba"
|
||||||
else:
|
else:
|
||||||
raise RuntimeError(
|
raise RuntimeError(
|
||||||
f"Could not determine model type for {model_id} revision {revision}"
|
f"Could not determine model type for {model_id} revision {revision}"
|
||||||
|
|
Loading…
Reference in New Issue