Fix permute swapping w / h on accident

This commit is contained in:
Aes Sedai 2026-02-04 06:25:24 -08:00
parent 37a386dd93
commit b1cf34ebe0
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ ggml_tensor * clip_graph_kimik25::resize_position_embeddings_3d(uint32_t interpo
pos_embd = ggml_permute(ctx0, pos_embd, 2, 1, 0, 3);
pos_embd = ggml_interpolate(ctx0, pos_embd, height, width, n_embd, 1, mode);
pos_embd = ggml_permute(ctx0, pos_embd, 1, 2, 0, 3);
pos_embd = ggml_permute(ctx0, pos_embd, 2, 1, 0, 3);
pos_embd = ggml_cont_2d(ctx0, pos_embd, n_embd, width * height);
return pos_embd;
}