We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6dac92 commit 17193ccCopy full SHA for 17193cc
1 file changed
src/llama-kv-cache-iswa.cpp
@@ -66,8 +66,9 @@ llama_kv_cache_iswa::llama_kv_cache_iswa(
66
67
LLAMA_LOG_INFO("%s: creating SWA KV cache, size = %u cells\n", __func__, size_swa);
68
69
+ // note: the SWA cache is never quantized because it is relatively small
70
kv_swa = std::make_unique<llama_kv_cache>(
- model, type_k, type_v,
71
+ model, GGML_TYPE_F16, GGML_TYPE_F16,
72
v_trans, offload, unified, size_swa, n_seq_max, n_pad,
73
hparams.n_swa, hparams.swa_type, filter_swa, reuse);
74
}
0 commit comments