From 381879e0acf40b986e23dc761c2473cfeb98cf55 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Tue, 29 Jul 2025 07:42:55 +0300 Subject: [PATCH] cont : tmp --- ggml/src/ggml-cpu/repack.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ggml/src/ggml-cpu/repack.cpp b/ggml/src/ggml-cpu/repack.cpp index d5fd89535b..96c236f464 100644 --- a/ggml/src/ggml-cpu/repack.cpp +++ b/ggml/src/ggml-cpu/repack.cpp @@ -1534,15 +1534,22 @@ template data + i12*nb12 + (i20%ne11)*nb11, ggml_row_size(GGML_TYPE_F32, ne10)); +#else + from_float( + (float *)((char *) src1->data + i12*nb12 + (i20%ne11)*nb11), + (void *) (hsrc1 + htpe[i02]*nbh11 + i02*nbh12), ne10); +#endif hids[i12*ne20 + i20] = i02*ne12 + htpe[i02]; htpe[i02]++; } } +#if 1 // htmp (float32) => hsrc1 (param type) for (int64_t i02 = 0; i02 < ne02; ++i02) { // n_expert if (i02 % nth != ith) { @@ -1563,6 +1570,7 @@ template threadpool);