mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-11 11:26:34 +00:00
added photomaker lora model (to be tested)
This commit is contained in:
1 parent
857af489a9
commit
b0579ec460
6 files changed
+455
-23
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user