Skip to content

Commit 353d807

Browse files
committed
Disable test point
This test point runs fine on multiple dev machines (with updated Ollama), but fails in CI with an internal error to Ollama/llama.cpp: ``` ================================================================================ Error occurred in tollamaChat/generateWithImages and it did not run to completion. --------- Error ID: --------- 'llms:apiReturnedError' -------------- Error Details: -------------- Error using ollamaChat/generate (line 238) Server returned error indicating: "an unknown error was encountered while running the model GGML_ASSERT(i01 >= 0 && i01 < ne01) failed" Error in tollamaChat>@(~)generate(chat,messages) (line 136) text = arrayfun(@(~) generate(chat,messages), 1:5, UniformOutput=false); Error in tollamaChat/generateWithImages (line 136) text = arrayfun(@(~) generate(chat,messages), 1:5, UniformOutput=false); ================================================================================ ``` See also ollama/ollama#7288
1 parent e16afaf commit 353d807

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/tollamaChat.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ function seedFixesResult(testCase)
122122
end
123123

124124
function generateWithImages(testCase)
125+
testCase.assumeFail("CI only assertion failure within Ollama, as of 2024-10-30, Ollama 0.3.14");
126+
125127
import matlab.unittest.constraints.ContainsSubstring
126128
chat = ollamaChat("moondream");
127129
image_path = "peppers.png";

0 commit comments

Comments
 (0)