@@ -5,7 +5,7 @@ import {getTestLlama} from "../../utils/getTestLlama.js";
55describe ( "bgeReranker" , ( ) => {
66 describe ( "rank" , ( ) => {
77 test ( "simple ranking" , { timeout : 1000 * 60 * 60 * 2 } , async ( test ) => {
8- if ( process . platform !== "darwin" )
8+ if ( process . platform !== "darwin" && process . arch !== "arm64" )
99 test . skip ( ) ; // the scores are a bit different on different platforms, so skipping on other platforms due to flakiness
1010
1111 const modelPath = await getModelFile ( "bge-reranker-v2-m3-Q8_0.gguf" ) ;
@@ -61,7 +61,7 @@ describe("bgeReranker", () => {
6161 } ) ;
6262
6363 test ( "rank all" , { timeout : 1000 * 60 * 60 * 2 } , async ( test ) => {
64- if ( process . platform !== "darwin" )
64+ if ( process . platform !== "darwin" && process . arch !== "arm64" )
6565 test . skip ( ) ; // the scores are a bit different on different platforms, so skipping on other platforms due to flakiness
6666
6767 const modelPath = await getModelFile ( "bge-reranker-v2-m3-Q8_0.gguf" ) ;
@@ -115,7 +115,7 @@ describe("bgeReranker", () => {
115115 } ) ;
116116
117117 test ( "rank and sort" , { timeout : 1000 * 60 * 60 * 2 } , async ( test ) => {
118- if ( process . platform !== "darwin" )
118+ if ( process . platform !== "darwin" && process . arch !== "arm64" )
119119 test . skip ( ) ; // the scores are a bit different on different platforms, so skipping on other platforms due to flakiness
120120
121121 const modelPath = await getModelFile ( "bge-reranker-v2-m3-Q8_0.gguf" ) ;
0 commit comments