unnecessary ReadSeeker for DecodeGGML
This commit is contained in:
parent
bf704423c5
commit
b2816bca67
|
@ -179,7 +179,7 @@ const (
|
||||||
FILE_MAGIC_GGUF_BE = 0x47475546
|
FILE_MAGIC_GGUF_BE = 0x47475546
|
||||||
)
|
)
|
||||||
|
|
||||||
func DecodeGGML(r io.ReadSeeker) (*GGML, error) {
|
func DecodeGGML(r io.Reader) (*GGML, error) {
|
||||||
var ggml GGML
|
var ggml GGML
|
||||||
binary.Read(r, binary.LittleEndian, &ggml.magic)
|
binary.Read(r, binary.LittleEndian, &ggml.magic)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue