Commit d50006e
committed
llama-graph: replace ggml_repeat_4d with ggml_repeat + ggml_new_tensor_4d
The ggml_repeat_4d function doesn't exist in the current ggml API.
Replace it with the correct approach using ggml_new_tensor_4d to
create a target tensor with the desired shape, then use ggml_repeat
to repeat the input tensor to match that shape.
This fixes compilation errors when building against system-provided
ggml libraries that don't include this non-existent function.1 parent 745aa53 commit d50006e
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
770 | 770 | | |
771 | 771 | | |
772 | 772 | | |
773 | | - | |
| 773 | + | |
| 774 | + | |
774 | 775 | | |
775 | 776 | | |
776 | 777 | | |
| |||
0 commit comments