fix code
This commit is contained in:
parent
65ac3a3627
commit
abd798d70f
2 changed files with 57 additions and 7 deletions
1
ggml.c
1
ggml.c
|
@ -3104,7 +3104,6 @@ GGML_CALL size_t ggml_type_size(enum ggml_type type) {
|
|||
|
||||
GGML_CALL size_t ggml_row_size(enum ggml_type type, int64_t ne) {
|
||||
assert(ne % ggml_blck_size(type) == 0);
|
||||
if (type == GGML_TYPE_I2_S) ne /= 4;
|
||||
return ggml_type_size(type)*ne/ggml_blck_size(type);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue