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);