llava-cli : multiple images (#6969)

Co-authored-by: root <root@nenya.lothlorien.ca>
This commit is contained in:
cpumaxx
2024-04-29 07:34:24 -07:00
committed by GitHub
parent 24affa7db3
commit ffe666572f
3 changed files with 42 additions and 33 deletions

View File

@@ -167,8 +167,8 @@ struct gpt_params {
std::string cache_type_v = "f16"; // KV cache data type for the V
// multimodal models (see examples/llava)
std::string mmproj = ""; // path to multimodal projector
std::string image = ""; // path to an image file
std::string mmproj = ""; // path to multimodal projector
std::vector<std::string> image; // path to image file(s)
};
bool parse_kv_override(const char * data, std::vector<llama_model_kv_override> & overrides);