Make vision woork with Qwen-3.5 models (#1345)

This commit is contained in:
Kawrakow 2026-03-01 17:44:37 +01:00 committed by GitHub
parent 0ff3a43289
commit 04c140fe54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -1099,7 +1099,9 @@ struct clip_graph {
model.mm_1_w, model.mm_1_b,
ffn_op_type::FFN_GELU, -1);
embeddings = ggml_concat(ctx0, embeddings, deepstack_features, 0); // concat along the feature dimension
if (deepstack_features) {
embeddings = ggml_concat(ctx0, embeddings, deepstack_features, 0); // concat along the feature dimension
}
// build the graph
ggml_build_forward_expand(gf, embeddings);