purpleskulll
purpleskulll
Here is the change, tested. It is unconditional rather than behind a flag, since the bound holds for every input the kernel accepts. ggml/src/ggml-cpu/llamafile/sgemm.cpp — 31 insertions, 2 deletions ```diff...
Haha, looks like our comments crossed paths in different threads! Glad the FOLD_N math checks out on your end. As I mentioned over in issue #629, relying on a zero-dependency...
Spot on. The framework overhead in ggml is just dead weight when you're trying to push bare-metal throughput. Controlling the unrolling and staying in int16 natively without the safety-rails is...
Correction to my own arithmetic above, before anyone spends time on it. I wrote that each `vpmaddubsw` result is "at most `2 * 2 * 127 = 508`". That is...
Thanks for confirming it independently — good to know it is not just my machine. Your LUT route interests me, because I arrived at the same five-trit grouping from the...
Awesome insights on the AVX-512 register space. You're completely right—LUTs are a beast when you have the room for them, while the arithmetic decode via vpmulhuw keeps things fast and...
Another confirmation, at a quantisation not yet represented here, plus one observation that I think narrows where the defect is — and a note on why the upstream PR has...
Building a zero-dependency engine to sidestep the GGUF parsers is exactly the right move. I actually had the exact same idea and was planning to build a custom inference engine...
@dondetir Thanks for the independent confirmation and the detailed breakdown. I actually ran into this exact activation mismatch while putting together my paper ("Sub-Two-Bit Ternary Weight Storage with Table-Free Arithmetic...
@dondetir Thanks for running this on Zen 4 and for providing the detailed numbers! It's fantastic to see the decode (generation) scaling hold up in the wild, and the 1.24x...