Skip to content

Commit e52481b

Browse files
committed
test: add notion of huge models
1 parent b199e70 commit e52481b

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

tools/mtmd/tests.sh

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ if [ "${1:-}" = "big" ]; then
2121
echo "Include BIG models..."
2222
fi
2323

24+
RUN_HUGE_TESTS=false
25+
if [ "${1:-}" = "huge" ]; then
26+
RUN_HUGE_TESTS=true
27+
RUN_BIG_TESTS=true
28+
echo "Include BIG models..."
29+
fi
30+
2431
###############
2532

2633
arr_bin=()
@@ -60,11 +67,17 @@ if [ "$RUN_BIG_TESTS" = true ]; then
6067
add_test "llama-mtmd-cli" "ggml-org/Qwen2-VL-7B-Instruct-GGUF:Q4_K_M"
6168
add_test "llama-mtmd-cli" "ggml-org/Qwen2.5-VL-3B-Instruct-GGUF:Q4_K_M"
6269
add_test "llama-mtmd-cli" "ggml-org/Qwen2.5-VL-7B-Instruct-GGUF:Q4_K_M"
63-
add_test "llama-mtmd-cli" "ggml-org/InternVL3-8B-Instruct-GGUF:Q4_K_M"
64-
add_test "llama-mtmd-cli" "ggml-org/InternVL3-14B-Instruct-GGUF:Q4_K_M"
70+
add_test "llama-mtmd-cli" "ggml-org/InternVL3-8B-Instruct-GGUF:Q4_K_M"
71+
add_test "llama-mtmd-cli" "ggml-org/InternVL3-14B-Instruct-GGUF:Q4_K_M"
6572
# add_test "llama-mtmd-cli" "ggml-org/Qwen2.5-VL-32B-Instruct-GGUF:Q4_K_M" # does not work on my mac M3 Ultra
66-
# add_test "llama-mtmd-cli" "ggml-org/Qwen2.5-VL-72B-Instruct-GGUF:Q4_K_M" # too big
67-
add_test "llama-mtmd-cli" "ggml-org/Llama-4-Scout-17B-16E-Instruct-GGUF:IQ1_S" # too big
73+
fi
74+
75+
# to test the huge models, run: ./tests.sh huge
76+
# this will run both the big and huge models
77+
# huge models are > 32B parameters
78+
if [ "$RUN_HUGE_TESTS" = true ]; then
79+
add_test "llama-mtmd-cli" "ggml-org/Qwen2.5-VL-72B-Instruct-GGUF:Q4_K_M"
80+
add_test "llama-mtmd-cli" "ggml-org/Llama-4-Scout-17B-16E-Instruct-GGUF:IQ1_S"
6881
fi
6982

7083
# these models always give the wrong answer, not sure why

0 commit comments

Comments
 (0)