mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-04-28 11:40:43 +00:00
mtmd : fix idefics3 preprocessing (#16806)
* mtmd : fix idefics3 preprocessing * disable granite test * fix test for granite
This commit is contained in:
parent
5a4ff43e7d
commit
e1ab084803
2 changed files with 12 additions and 5 deletions
|
|
@ -139,7 +139,10 @@ for i in "${!arr_hf[@]}"; do
|
|||
|
||||
echo "$output" > $SCRIPT_DIR/output/$bin-$(echo "$hf" | tr '/' '-').log
|
||||
|
||||
if echo "$output" | grep -iq "new york"; then
|
||||
# either contains "new york" or both "men" and "walk"
|
||||
if echo "$output" | grep -iq "new york" \
|
||||
|| (echo "$output" | grep -iq "men" && echo "$output" | grep -iq "walk")
|
||||
then
|
||||
result="$prefix \033[32mOK\033[0m: $bin $hf"
|
||||
else
|
||||
result="$prefix \033[31mFAIL\033[0m: $bin $hf"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue