mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-22 05:57:48 +00:00
ggml: remove bad assert (ggml/928)
This commit is contained in:
parent
1fbd828a5d
commit
df06468d9e
@ -3745,7 +3745,6 @@ static struct ggml_tensor * ggml_new_tensor_impl(
|
||||
|
||||
size_t data_size = ggml_row_size(type, ne[0]);
|
||||
for (int i = 1; i < n_dims; i++) {
|
||||
assert(ne[i] > 0);
|
||||
data_size *= ne[i];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user