diff --git a/mistralrs-core/src/layers.rs b/mistralrs-core/src/layers.rs index 60d239024..a910aa868 100644 --- a/mistralrs-core/src/layers.rs +++ b/mistralrs-core/src/layers.rs @@ -84,7 +84,7 @@ impl FromStr for ScaledRopeType { type Err = candle_core::Error; fn from_str(s: &str) -> std::result::Result { match s { - "su" => Ok(Self::Su), + "su" | "longrope" => Ok(Self::Su), "yarn" => Ok(Self::Yarn), _ => Err(candle_core::Error::Msg( "Expected either `su` or `yarn` scaled RoPE type.".to_string(),