llama.cpp Fixes Multi-GPU KV Cache Bug
Key point
llama.cpp has fixed an issue where quantized KV cache did not work when using --sm tensor in multi-GPU environments.
Details
In the latest update (b9455) of llama.cpp, an issue where quantized KV cache did not work properly when using the --sm tensor option in multi-GPU environments has been fixed.
Previously, there was a defect where shape information was lost during the process of flattening tensors for KV cache rotation, causing the meta backend to fail to handle it. To resolve this, instead of directly changing the tensor shape, the approach of extending the ggml_backend_meta_split_state specification to preserve data layout information was adopted.
This fix enables efficient use of KV cache quantization in multi-GPU environments without requiring separate compute graph changes.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.