mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-06-27 23:50:20 -05:00
llama: only use one iGPU device by default (#23897)
This commit is contained in:
parent
d749821db3
commit
22cadc1944
@ -225,7 +225,9 @@ static bool llama_prepare_model_devices(const llama_model_params & params, llama
|
||||
}
|
||||
|
||||
case GGML_BACKEND_DEVICE_TYPE_IGPU:
|
||||
igpus.push_back({false, dev});
|
||||
if (igpus.empty()) {
|
||||
igpus.push_back({false, dev});
|
||||
}
|
||||
break;
|
||||
case GGML_BACKEND_DEVICE_TYPE_META:
|
||||
GGML_ABORT("fatal error");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user