Make vision woork with Qwen-3.5 models (#1345)
This commit is contained in:
parent
0ff3a43289
commit
04c140fe54
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue