llama_cpp_for_radxa_dragon_.../examples
Kawrakow f4d7e54974
SOTA 3-bit quants (#5196)
* iq3_xxs: quantize/dequantize

RMSE seems a bit high-ish at about half-way between q2_K and
q3_K, so need to check more.

* iq3_xxs: CUDA dequantize works

* iq2_xxs: tuning quantization

* iq3_xxs: starting to look better

PPL on wiki.test.raw
LLaMA-v1-7B: 6.4218
LLaMA-v2-7B: 6.3560
Mistral-7B : 6.0717

This is better than Q3_K_XS, with a 5% reduction in quantized model
size.

* iq3_xxs: CUDA dot product

We have
PP-512: 5891 t/s
TG-128: 143.9 t/s

* iq3_xxs: scalar and AVX2 dot products

* iq3_xxs: ARM_NEON and Metal

Metal performance is decent, ARM_NEON is pathetic

* iq3_xxs: slightly better grid points

* Faster iq3_xxs and iq2_xs dot products on CUDA

* iq3_xxs: add some quant mix

* iq3_xxs: fix failing quantization test

Dot product still fails. Is this real?

* iq3_xxs: hopefully fix ROCm

* iq3_xxs: failing tests

This time the dot product accuracy did find an actual bug
in the AVX2 implementation.

* Add IQ3_XXS to test-backend-ops

---------

Co-authored-by: Iwan Kawrakow <iwan.kawrakow@gmail.com>
2024-01-30 15:14:12 +02:00
..
baby-llama
batched examples : add passkey test (#3856) 2024-01-08 11:14:04 +02:00
batched-bench llama : ggml-backend integration (#4766) 2024-01-12 20:07:38 +01:00
batched.swift
beam-search
benchmark 2-bit quantizations (#4897) 2024-01-14 09:45:56 +02:00
convert-llama2c-to-ggml
embedding
export-lora export-lora : use LLAMA_FILE_MAGIC_GGLA (#4894) 2024-01-12 19:54:53 +02:00
finetune finetune : print sample-start/include-sample-start (#5072) 2024-01-22 13:11:01 +02:00
gguf
imatrix imatrix : keep intermediate imatrix results (#5077) 2024-01-22 14:18:43 +02:00
infill Remove unused data and add fixes (#5154) 2024-01-27 15:25:55 +01:00
jeopardy
llama-bench ggml : add Vulkan backend (#2059) 2024-01-28 19:03:59 +02:00
llama.android android : use release cmake build type by default (#5123) 2024-01-25 19:05:51 +02:00
llama.swiftui llama.swiftui : update models layout (#4826) 2024-01-12 14:48:00 +02:00
llava llava : support for Yi-VL and fix for mobileVLM (#5093) 2024-01-27 17:09:18 +02:00
lookahead
lookup
main main : allow empty --prompt-cache file (#5176) 2024-01-30 11:18:02 +02:00
main-cmake-pkg
parallel
passkey examples : add passkey test (#3856) 2024-01-08 11:14:04 +02:00
perplexity Additional KL-divergence statistics (#5081) 2024-01-23 15:17:20 +02:00
quantize SOTA 3-bit quants (#5196) 2024-01-30 15:14:12 +02:00
quantize-stats SOTA 3-bit quants (#5196) 2024-01-30 15:14:12 +02:00
save-load-state llama : minimize size used for state save/load (#4820) 2024-01-13 18:29:43 +02:00
server server : improve README (#5209) 2024-01-30 11:11:46 +02:00
simple
speculative speculative : threading options (#4959) 2024-01-16 13:04:32 +02:00
sycl ggml : add unified SYCL backend for Intel GPUs (#2690) 2024-01-28 17:56:23 +02:00
tokenize
train-text-from-scratch finetune : fix ggml_allocr lifetimes (tmp workaround) (#5033) 2024-01-19 20:20:50 +02:00
alpaca.sh
base-translate.sh
chat-13B.bat
chat-13B.sh
chat-persistent.sh
chat-vicuna.sh
chat.sh
CMakeLists.txt ggml : add unified SYCL backend for Intel GPUs (#2690) 2024-01-28 17:56:23 +02:00
gpt4all.sh
json-schema-to-grammar.py
llama.vim llama.vim : added api key support (#5090) 2024-01-23 08:51:27 +02:00
llama2-13b.sh
llama2.sh
llm.vim
make-ggml.py
Miku.sh
pydantic-models-to-grammar-examples.py examples : make pydantic scripts pass mypy and support py3.8 (#5099) 2024-01-25 14:51:24 -05:00
pydantic_models_to_grammar.py examples : make pydantic scripts pass mypy and support py3.8 (#5099) 2024-01-25 14:51:24 -05:00
reason-act.sh
server-llama2-13B.sh