ci : fix -Werror=return-type in clip.cpp so ci/run.sh can run without issue (#15221)
* Fix -Werror=return-type so ci/run.sh can run * Update tools/mtmd/clip.cpp Co-authored-by: Diego Devesa <slarengh@gmail.com> * Remove false now that we have abort --------- Co-authored-by: Diego Devesa <slarengh@gmail.com>
This commit is contained in:
parent
245be739df
commit
b108e42904
|
|
@ -3581,10 +3581,10 @@ bool clip_image_preprocess(struct clip_ctx * ctx, const clip_image_u8 * img, str
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
} else {
|
||||||
|
GGML_ABORT("Unknown image preprocessing type");
|
||||||
}
|
}
|
||||||
|
|
||||||
GGML_ASSERT(false && "Unknown image preprocessing type");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ggml_tensor * clip_get_newline_tensor(const struct clip_ctx * ctx) {
|
ggml_tensor * clip_get_newline_tensor(const struct clip_ctx * ctx) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue