chat: clearer CPU fallback messages

This commit is contained in:
Cebtenzzre
2023-10-06 11:30:55 -04:00
committed by AT
parent eec906aa05
commit 5fe685427a
3 changed files with 6 additions and 6 deletions

View File

@@ -303,11 +303,11 @@ bool LLamaModel::initializeGPUDevice(const LLModel::GPUDevice &device, std::stri
vkDevice.vendor = device.vendor;
result = ggml_vk_init_device(vkDevice);
if (!result && unavail_reason) {
*unavail_reason = "failed to init device";
*unavail_reason = "failed to init GPU";
}
#else
if (unavail_reason) {
*unavail_reason = "built without kompute";
*unavail_reason = "built without Kompute";
}
#endif
return result;