]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
ggml : SOTA 2-bit quants (add IQ2_XS) (llama/4856)
authorKawrakow <redacted>
Thu, 11 Jan 2024 19:39:39 +0000 (20:39 +0100)
committerGeorgi Gerganov <redacted>
Thu, 11 Jan 2024 19:50:01 +0000 (21:50 +0200)
commit97b12212dd5a677a3aafd388bc0344260793343a
tree086ad693d96bf126cc2a4360f97ac4d06f6160d5
parent9fa34d79ec2d2d2ff29b13074504199481c2abbc
ggml : SOTA 2-bit quants (add IQ2_XS) (llama/4856)

* iq2_xs: basics

* iq2_xs: this should have been in the basics

* iq2_xs: CUDA and scalar CPU works

* iq2_xs: WIP Metal

* iq2_xs: Metal now works

* iq2_xs: working, but dog slow, ARM_NEON dot product

* iq2_xs: better ARM_NEON dot product

We are now at 19.5 t/s for TG-128 and 61 t/s for PP-512 when
running on the CPU.

* iq2_xs: AVX2 dot product - 19.5 t/s

* iq2_xs: faster AVX2 dit product

21.4 t/s for TG-128, 59.2 t/s for PP-512.
The latter is 2x compared to the previous version.

* iq2_xs: had forgotten to delete iq2-data.h

* Add llama enum for IQ2_XS

---------

Co-authored-by: Iwan Kawrakow <redacted>
ggml-cuda.cu
ggml-metal.m
ggml-metal.metal
ggml-quants.c
ggml-quants.h
ggml.c
ggml.h