Commit b2816bca authored by Michael Yang's avatar Michael Yang
Browse files

unnecessary ReadSeeker for DecodeGGML

parent bf704423
...@@ -179,7 +179,7 @@ const ( ...@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment