Browse Source

update comment

drifkin/chat-truncation-fix
Michael Yang 1 year ago
committed by Michael Yang
parent
commit
5e20b170a7
  1. 3
      fs/ggml/ggml.go

3
fs/ggml/ggml.go

@ -374,8 +374,7 @@ func DetectContentType(b []byte) string {
// Decode decodes a GGML model from the given reader.
//
// It collects array values for arrays with a size less than or equal to
// maxArraySize. If maxArraySize is 0, the default value of 1024 is used. If
// the maxArraySize is negative, all arrays are collected.
// maxArraySize. If the maxArraySize is negative, all arrays are collected.
func Decode(rs io.ReadSeeker, maxArraySize int) (*GGML, int64, error) {
rs = bufioutil.NewBufferedSeeker(rs, 32<<10)

Loading…
Cancel
Save