Package: libmagic-mgc
Version: 1:5.46-5
Severity: normal

Need to have entries for GGML and GGUF.

For this one it doesn't work the second >32 needs to be an else condition from
the match on split.no, I haven't yet worked out how to do that.

# https://huggingface.co/docs/hub/en/gguf
# the string at offset 32 is actually a pstring with the length at offset 24
# the string at offset &11 is actually a pstring with the length at offset &3
0       string  GGUF    GGUF ML data
>4      lelong  x       version %d,
>8      lequad  x       %lld tensors,
>16     lequad  x       %lld metadata key value pairs,
>32     string  split.no
>>44    leshort x       split.no=%d
>32     string  x       %s=
>>&11   string  x       %s,
>>>&7   string  x       %s=
>>>>&11 string  x       %s

This one is good but I haven't yet found how get more info from it.

# 
https://github.com/ggml-org/llama.cpp/blob/master/convert_llama_ggml_to_gguf.py
0       string  lmgg    GGML ML data

-- System Information:
Debian Release: 13.0
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.27-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

-- debconf-show failed

Reply via email to