kv cache quantization

#1
by mahdisml - opened

it is possible to quantize kv cache in strata ? :(
In llama.cpp and Unsloth’s llama.cpp, quantizing the KV cache for this model will increase its size instead of decreasing it

Yeah, you can quantise the kv cache, u have the options int8, k8/v4, q4. could probably do q5 and others if you update the json config

i have 16g 4060ti how much context i can achieve without it decreasing its output to less tham 30 tok/s on unsloth ucq3km i can have 32k context at 35 tok/s decode speed but that decreases to 10 tok/s as i move toward 64k

i have 16g 4060ti how much context i can achieve without it decreasing its output to less tham 30 tok/s on unsloth ucq3km i can have 32k context at 35 tok/s decode speed but that decreases to 10 tok/s as i move toward 64k

unsloth llamacpp (or their desktop app) + quantization on kv-cache + lower Micro-batch Size (ub) 64 or 128

Sign up or log in to comment