Skip to content

Commit bf30513

Browse files
committed
fix CI
1 parent 599a2d7 commit bf30513

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/mistral.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ Always prioritize using tools to provide the most accurate and helpful response.
863863

864864
static float get_llama_4_attn_scale(int pos, float beta, int max_position_embeddings)
865865
{
866-
return 1.0f + beta * std::logf(1.0f + std::floorf((float)pos / max_position_embeddings));
866+
return 1.0f + beta * logf(1.0f + floorf((float)pos / max_position_embeddings));
867867
}
868868

869869
#define MAX_PROJECTED_TOKENS 2048

0 commit comments

Comments
 (0)