File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
test/modelDependent/codegemma Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -383,7 +383,7 @@ jobs:
383383
384384 model-dependent-tests :
385385 name : Model dependent tests
386- runs-on : ubuntu-24.04
386+ runs-on : macos-12
387387 env :
388388 NODE_LLAMA_CPP_GPU : false
389389 needs :
@@ -406,10 +406,10 @@ jobs:
406406 name : llama.cpp
407407 path : llama
408408
409- # - name: Install dependencies on macOS
410- # run: |
411- # brew install cmake ninja
412- # alias make=cmake
409+ - name : Install dependencies on macOS
410+ run : |
411+ brew install cmake ninja
412+ alias make=cmake
413413
414414 - name : Install modules
415415 run : npm ci
Original file line number Diff line number Diff line change @@ -19,13 +19,13 @@ describe("CodeGemma", () => {
1919 contextSequence : context . getSequence ( )
2020 } ) ;
2121
22- const res = await completion . generateCompletion ( "Here is a list of sweet fruits:\n* " , {
23- maxTokens : 10
22+ const res = await completion . generateCompletion ( "Sweet fruit names:\n* " , {
23+ maxTokens : 10 ,
24+ seed : 30
2425 } ) ;
2526 expect ( res ) . toMatchInlineSnapshot ( `
26- "🍎
27- * 🍊
28- * 🍋
27+ "1. Apple
28+ * 2. Banana
2929 "
3030 ` ) ;
3131 } ) ;
You can’t perform that action at this time.
0 commit comments