added photomaker lora model (to be tested)

This commit is contained in:
bssrdf committed 2024-02-12 16:31:02 -05:00
1 parent 857af489a9
commit b0579ec460
6 files changed
+455 -23

No files matched your search

+1 -1
View File
@@ -1016,7 +1016,7 @@ struct CLIPVisionModel {
// ggml_add(ctx0, embeddings, ggml_repeat(ctx0, ggml_get_rows(ctx0, position_embeddings, positions), embeddings));
ggml_add(ctx0, embeddings, ggml_get_rows(ctx0, position_embeddings, positions));
ggml_set_name(embeddings, "embeddings_after_add");
// print_ggml_tensor(embeddings, true, "embeddings_after_add");
print_ggml_tensor(embeddings, true, "embeddings_after_add");
// pre-layernorm
embeddings = ggml_nn_layer_norm(ctx0, embeddings, pre_ln_w, pre_ln_w);