]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
imatrix : fix crash when using --show-statistics with zero counts (#19532)
authorSamareshSingh <redacted>
Thu, 26 Mar 2026 07:14:36 +0000 (02:14 -0500)
committerGitHub <redacted>
Thu, 26 Mar 2026 07:14:36 +0000 (08:14 +0100)
commit0fac87b157305eb82a70902327abffbbce25bd3e
tree6c465b8e947d4a01ddd140ddef5f0e8a98462940
parent0a524f240456d7727570043f97757ea2c249003b
imatrix : fix crash when using --show-statistics with zero counts (#19532)

* imatrix: fix crash when using --show-statistics with zero counts

Fixes division by zero that caused floating point exceptions when processing imatrix files with zero count values. Added checks to skip zero counts and handle empty activation vectors.

Fix for the bug #19190

* imatrix: lower log level for zero-count skip message to DBG
tools/imatrix/imatrix.cpp