AVX BF16 and single scale quant optimizations (#10212)
* use 128 bit loads (i've tried 256->128 to death and its slower) * double accumulator * avx bf16 vec dot * +3% q4_0 inference * +7% tg +5% pp compared to master * slower f16c version, kep for reference * 256b version, also slow. i tried :) * revert f16 * faster with madd * split to functions * Q8_0 and IQ4_NL, 5-7% faster * fix potential overflow (performance reduced) * 16 bit add for q4_0 only * merge
E
Eve committed
18429220bdb344da1bc7df9bc580c7b41b3cd57b
Parent: f0204a0
Committed by GitHub <noreply@github.com>
on 11/15/2024, 11:47:58 AM