model : support Nemotron-3(.5)-Embed (#30877)

This commit is contained in:
Takamichi Ohara authored and GitHub committed 2026-10-20 22:48:45 +02:00
1 parent 839a572a4c
commit 52ffa02745
7 files changed
+90 -11

No files matched your search

+5 -1
View File
@@ -804,7 +804,11 @@ struct mtmd_context {
{
// https://github.com/huggingface/transformers/blob/1cd110c6cb6a6237614130c470e9a902dbc1a4bd/docs/source/en/model_doc/pixtral.md
img_end = "[IMG_END]";
image_preproc = std::make_unique<mtmd_image_preprocessor_dyn_size>(ctx_v);
if (clip_get_hparams(ctx_v)->image_longest_edge > 0) {
image_preproc = std::make_unique<mtmd_image_preprocessor_longest_edge>(ctx_v);
} else {
image_preproc = std::make_unique<mtmd_image_preprocessor_dyn_size>(ctx_v);
}
} break;
case PROJECTOR_TYPE_PHI4:
{