Skip to content

gguf-radar 0.1.1

Latest

Choose a tag to compare

@Root0ne Root0ne released this 28 Nov 13:46
· 3 commits to main since this release
d856e4a

This release fixes a false positive.

Fixed

  • Clean models are no longer reported as MALICIOUS because of bytes under zero scales. The quantizer leaves such bytes behind when a very small scale rounds to zero, which happens in models with pruned, untrained or very small weights. These blocks are now counted and shown as a note, and they do not change the verdict. Thanks to @zachisfine for the report and the analysis in #1.

Changed

  • Zero-scale bytes now give MALICIOUS only when they contain a known file signature or readable text. They give SUSPICIOUS when a Q8_0 block cannot have been written by the quantizer or when a stretch of 4096 bytes is as flat as encrypted data.
  • The JSON report has the new fields zero_scale_data_blocks, zero_scale_content and zero_scale_tensors. The field dead_block_payloads now counts only the blocks whose bytes do not look like quantizer output.
  • sanitize is unchanged. It still clears every zero-scale byte.

The documentation explains the checks in How the checks work and their limits in Limitations.

Upgrade

pip install --upgrade git+https://github.com/Root0ne/gguf-radar@v0.1.1