ggml : fix ggml_soft_max mask requirement
This commit is contained in:
parent
8ad92dc1ec
commit
910b15bb40
1 changed files with 1 additions and 1 deletions
2
ggml.c
2
ggml.c
|
@ -5089,7 +5089,7 @@ static struct ggml_tensor * ggml_soft_max_impl(
|
|||
GGML_ASSERT(ggml_is_contiguous(mask));
|
||||
GGML_ASSERT(mask->ne[2] == 1);
|
||||
GGML_ASSERT(mask->ne[3] == 1);
|
||||
GGML_ASSERT(ggml_can_repeat_rows(mask, a));
|
||||
GGML_ASSERT(mask->ne[1] >= a->ne[1]);
|
||||
}
|
||||
|
||||
bool is_node = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue