mtmd: add mtmd_context_params::warmup option (#17652)

* mtmd: add mtmd_context_params::warmup option

* reuse the common_params::warmup
This commit is contained in:
Xuan-Son Nguyen
2025-12-01 21:32:25 +01:00
committed by GitHub
parent 00c361fe53
commit ecf74a8417
6 changed files with 12 additions and 2 deletions
+1
View File
@@ -82,6 +82,7 @@ struct mtmd_context_params {
const char * image_marker; // deprecated, use media_marker instead
const char * media_marker;
enum llama_flash_attn_type flash_attn_type;
bool warmup; // whether to run a warmup encode pass after initialization
// limit number of image tokens, only for vision models with dynamic resolution
int image_min_tokens; // minimum number of tokens for image input (default: read from metadata)