mirror of
https://github.com/ikawrakow/ik_llama.cpp.git
synced 2026-03-01 17:40:25 +00:00
Repack: make sure number of rows is a multiple of the packing
This commit is contained in:
@@ -5096,6 +5096,7 @@ void iqk_repack_tensor(struct ggml_tensor * tensor) {
|
||||
|
||||
auto it = k_map.find(tensor->type);
|
||||
if (it == k_map.end()) return;
|
||||
if (tensor->ne[1] % it->second.num_rows) return;
|
||||
|
||||
auto& r = it->second;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user