diff --git a/otherarch/sdcpp/ggml_extend.hpp b/otherarch/sdcpp/ggml_extend.hpp index 5f902e355..3f1b4d710 100644 --- a/otherarch/sdcpp/ggml_extend.hpp +++ b/otherarch/sdcpp/ggml_extend.hpp @@ -878,11 +878,11 @@ public: ggml_backend_cpu_set_n_threads(backend, n_threads); } -#ifdef SD_USE_METAL - if (ggml_backend_is_metal(backend)) { - ggml_backend_metal_set_n_cb(backend, n_threads); - } -#endif +// #ifdef SD_USE_METAL +// if (ggml_backend_is_metal(backend)) { +// ggml_backend_metal_set_n_cb(backend, n_threads); +// } +// #endif ggml_backend_graph_compute(backend, gf); diff --git a/otherarch/whispercpp/whisper.cpp b/otherarch/whispercpp/whisper.cpp index 12452ada0..fcbeb1487 100644 --- a/otherarch/whispercpp/whisper.cpp +++ b/otherarch/whispercpp/whisper.cpp @@ -183,11 +183,11 @@ static bool ggml_graph_compute_helper( if (ggml_backend_is_cpu(backend)) { ggml_backend_cpu_set_n_threads(backend, n_threads); } -#ifdef GGML_USE_METAL - if (ggml_backend_is_metal(backend)) { - ggml_backend_metal_set_n_cb(backend, n_threads); - } -#endif +// #ifdef GGML_USE_METAL +// if (ggml_backend_is_metal(backend)) { +// ggml_backend_metal_set_n_cb(backend, n_threads); +// } +// #endif return ggml_backend_graph_compute(backend, graph) == GGML_STATUS_SUCCESS; }