Skip to content

Commit

Permalink
Support the new phi3 models (#530)
Browse files Browse the repository at this point in the history
  • Loading branch information
EricLBuehler committed Jul 2, 2024
1 parent c834f59 commit 5ded151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mistralrs-core/src/layers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ impl FromStr for ScaledRopeType {
type Err = candle_core::Error;
fn from_str(s: &str) -> std::result::Result<Self, Self::Err> {
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(),
Expand Down

0 comments on commit 5ded151

Please sign in to comment.