]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
mtmd-cli : fix out_of_range when input image path is empty (#13244)
authorShakil Ahmed <redacted>
Fri, 2 May 2025 08:20:27 +0000 (14:20 +0600)
committerGitHub <redacted>
Fri, 2 May 2025 08:20:27 +0000 (10:20 +0200)
commite84773ab604fe0d935d03741df003716398dc57b
treeea374f500d7d8e9f5d0d8bf101387d61eca2f68c
parentfab647e8842c5f80da7e8f2c625dab6a0e19e5d4
mtmd-cli : fix out_of_range when input image path is empty (#13244)

* fix out_of_range error  to keep the chat loop running

* Update examples/llava/mtmd-cli.cpp

Co-authored-by: Sigbjørn Skjæret <redacted>
* mtmd-cli : load image right away

* add a new line for readability

* rm printf

* Update examples/llava/mtmd-cli.cpp

Co-authored-by: Sigbjørn Skjæret <redacted>
* Update examples/llava/mtmd-cli.cpp

---------

Co-authored-by: Sigbjørn Skjæret <redacted>
Co-authored-by: Xuan Son Nguyen <redacted>
Co-authored-by: Xuan-Son Nguyen <redacted>
examples/llava/mtmd-cli.cpp
examples/llava/mtmd.cpp