Fix rtr when mqkv is enabled (#971)

Co-authored-by: Iwan Kawrakow <iwan.kawrakow@gmail.com>
This commit is contained in:
Kawrakow
2025-11-16 16:51:45 +02:00
committed by GitHub
parent eafa77c412
commit dffb45d44a

View File

@@ -1907,9 +1907,9 @@ static bool llm_load_tensors(
for (auto& it : model.tensors_by_name) {
if (ggml_backend_buffer_is_host(it.second->buffer)) {
auto orig_type = it.second->type;
if (it.second->view_src) continue;
iqk_repack_tensor(it.second);
if (it.second->type != orig_type) ++n_repacked;
//printf("Repacking tensor %s\n", it.first.c_str());
}
}
if (n_repacked > 0) printf("============ Repacked %d tensors\n", n_repacked);