Update common.h

change params image datatype to vector
This commit is contained in:
cpumaxx 2024-04-09 21:01:50 -07:00 committed by GitHub
parent 0acc56719a
commit 7e1b9e0b70
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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