From 2032526e8c106e63a132583b5c4f5b30341b5366 Mon Sep 17 00:00:00 2001 From: project516 <138796702+Project516@users.noreply.github.com> Date: Tue, 27 Oct 2026 12:28:11 -0500 Subject: [PATCH] fix: include integrated GPUs in automatic memory planning (#2228) --- src/core/backend_fit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/backend_fit.cpp b/src/core/backend_fit.cpp index 91dfedb4..c970d10e 100644 --- a/src/core/backend_fit.cpp +++ b/src/core/backend_fit.cpp @@ -133,7 +133,7 @@ namespace sd::backend_fit { for (size_t i = 0; i < ggml_backend_dev_count(); ++i) { ggml_backend_dev_t dev = ggml_backend_dev_get(i); const auto type = ggml_backend_dev_type(dev); - if (type != GGML_BACKEND_DEVICE_TYPE_GPU && + if (type != GGML_BACKEND_DEVICE_TYPE_GPU && type != GGML_BACKEND_DEVICE_TYPE_IGPU && (!include_other_devices || type == GGML_BACKEND_DEVICE_TYPE_CPU)) { continue; }