ggml
4-bit Integer quantisation
#27
Merged

4-bit Integer quantisation #27

ggerganov merged 38 commits into master from gq
ggerganov
ggerganov ggerganov force pushed from caf3c55d to aee375c6 3 years ago
ggerganov ggerganov force pushed from d455387e to 24330b89 3 years ago
ocordeiro
ggerganov
ocordeiro
ocordeiro
tmzt
ocordeiro
ggerganov ggerganov force pushed from 705bc79a to 3adf02e3 3 years ago
Const-me
ggerganov
Const-me
ggerganov
Const-me
meakbiyik
mallorbc
iamfaith
ggerganov gq : attempt at n-bit quantization
8f45628f
ggerganov gq : add amax based method 3
b0a46fd2
ggerganov gq : progress on method 2
da2de942
ggerganov gq : method 4 (AVX2)
aa5506c0
ggerganov gq : method 4 (ARM)
1fc11de6
ggerganov gq : method 4 (AVX2 attempt) + method 5 (no min)
dae323c3
ggerganov gq : method 5 (ARM)
349e9173
ggerganov gpt-2 : model conversion for Q4_0 quantization
ff4c6532
ggerganov ggml : Q4_0 quantization support (ggml_get_rows())
21514b72
ggerganov gpt-2 : loading Q4_0 quantized model
ff54fda8
ggerganov ggml : q4_0 quantization support
2219c11b
ggerganov ggml : q4_1 quantization support (seems to work for bigger models)
5bdfce2a
ggerganov gpt-2 : add gpt-2-quantize tool for quantizing f32 GPT-2 models
b0cab890
ggerganov ggml : 4-bit quantization works (only scalar for now)
2f118888
ggerganov gq : add method 6 (ARM)
b82c27fe
ggerganov ggml : vectorized mad q4_0 (ARM)
2e75d8f1
ggerganov ggml : vectorized quantize_row_q4_0 (ARM)
b0c22a48
ggerganov ggml : simplify mad q4_0 (ARM)
3c757a46
ggerganov ggml : minor indentations
e3ad879f
ggerganov gpt-j : support for 4-bit quantized model inference
8abcab49
ggerganov ggml : GGML_ASSERT() instead of assert() where appropriate
c21972cb
ggerganov gpt : avoid ggml_transpose on model tensors (new models!)
4a56c5b9
ggerganov gpt-2 : minor
904605c4
ggerganov gpt-j : fix conversion for FP16 models (such as GPT-JT-6B)
441a38f4
ggerganov ggml : add ggml_compute_forward_rope_f16()
53368280
ggerganov gpt : fix memory usage computation
99af48e2
ggerganov ggml : fix ggml_is_contiguous() to take into account blck size
6aae09ea
ggerganov whisper : add whisper-qunatize tool
d0ac5ebf
ggerganov whisper : add support for quantized models
37d427d4
ggerganov whisper : mem usage based on model format type
e904a582
ggerganov gpt : seems not worth to use FP16 for KV cache
63a8f622
ggerganov gpt : support quantisation of f16 models files
519ce47e
ggerganov ggml : fixes for rpi4
9881c2bc
ggerganov whisper : add Q4_1 model sizes
a85bc0fd
ggerganov ggml : add WASM SIMD for Q4_0
c4f14039
ggerganov utils : print quantization histograms
331a8621
ggerganov ggml : sync all changes from llama.cpp and whisper.cpp
154fcc3a
ggerganov ggerganov force pushed from 503722cb to 154fcc3a 3 years ago
ggerganov ggml : finalize the Q4_1 quantization for ARM_NEON
724c45d5
ggerganov ggerganov merged acd4aeee into master 3 years ago
ggerganov ggerganov deleted the gq branch 3 years ago
ahoho
ggerganov
ggerganov ggerganov restored the head branch 3 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
No reviews
Assignees
No one assigned
Labels
Milestone