llama : allow using iGPUs with --device (#15951)

* llama : allow using iGPUs with --device

* mtmd : allow iGPU

* rpc-server : allow iGPU
This commit is contained in:
Diego Devesa authored and GitHub committed 2025-09-13 16:49:49 +02:00
1 parent 55758b00ca
commit 50f4281a6f
3 files changed
+8 -24

No files matched your search

+1
View File
@@ -406,6 +406,7 @@ struct clip_ctx {
}
if (!backend) {
backend = ggml_backend_init_by_type(GGML_BACKEND_DEVICE_TYPE_GPU, nullptr);
backend = backend ? backend : ggml_backend_init_by_type(GGML_BACKEND_DEVICE_TYPE_IGPU, nullptr);
}
}