mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-10-03 03:25:40 +00:00
ggml : fix dimension and stride truncation in ggml_permute (#29227)
This commit is contained in:
parent
6f41ac59e0
commit
c21284cdf5
1 changed files with 2 additions and 2 deletions
|
|
@ -3897,8 +3897,8 @@ struct ggml_tensor * ggml_permute(
|
|||
struct ggml_tensor * result = ggml_view_tensor(ctx, a);
|
||||
ggml_format_name(result, "%s (permuted)", a->name);
|
||||
|
||||
int ne[GGML_MAX_DIMS];
|
||||
int nb[GGML_MAX_DIMS];
|
||||
int64_t ne[GGML_MAX_DIMS];
|
||||
size_t nb[GGML_MAX_DIMS];
|
||||
|
||||
ne[axis0] = a->ne[0];
|
||||
ne[axis1] = a->ne[1];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue