Repository navigation
This release fixes a false positive.
Fixed
- Clean models are no longer reported as
MALICIOUSbecause 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
MALICIOUSonly when they contain a known file signature or readable text. They giveSUSPICIOUSwhen aQ8_0block 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_contentandzero_scale_tensors. The fielddead_block_payloadsnow counts only the blocks whose bytes do not look like quantizer output. sanitizeis 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