Merge pull request #333 from jmorganca/off-by-one

ggml: fix off by one error
This commit is contained in:
Michael Yang
2023-08-11 10:51:06 -07:00
committed by GitHub

View File

@@ -29,7 +29,7 @@ const (
FileTypeQ4_0
FileTypeQ4_1
FileTypeQ4_1_F16
FileTypeQ8_0 = iota + 3
FileTypeQ8_0 = iota + 2
FileTypeQ5_0
FileTypeQ5_1
FileTypeQ2_K
@@ -37,7 +37,6 @@ const (
FileTypeQ4_K
FileTypeQ5_K
FileTypeQ6_K
FileTypeUnknown = -1
)
type GGML struct {