MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / mtmd_context_params_default

Function mtmd_context_params_default

tools/mtmd/mtmd.cpp:122–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122mtmd_context_params mtmd_context_params_default() {
123 mtmd_context_params params {
124 /* use_gpu */ true,
125 /* print_timings */ true,
126 /* n_threads */ 4,
127 /* image_marker */ nullptr,
128 /* media_marker */ mtmd_default_marker(),
129 /* flash_attn_type */ LLAMA_FLASH_ATTN_TYPE_AUTO,
130 /* warmup */ true,
131 /* image_min_tokens */ -1,
132 /* image_max_tokens */ -1,
133 /* cb_eval */ nullptr,
134 /* cb_eval_user_data */ nullptr,
135 };
136 return params;
137}
138
139struct mtmd_context {
140 struct clip_ctx * ctx_v; // vision

Callers 4

init_vision_contextMethod · 0.85
mainFunction · 0.85
load_modelMethod · 0.85
mainFunction · 0.85

Calls 1

mtmd_default_markerFunction · 0.85

Tested by 1

mainFunction · 0.68