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

@@ -99,7 +99,7 @@ public:
virtual bool initializeGPUDevice(size_t /*memoryRequired*/, const std::string& /*device*/) { return false; }
virtual bool initializeGPUDevice(const GPUDevice &/*device*/, std::string *unavail_reason = nullptr) {
if (unavail_reason) {
*unavail_reason = "unsupported model type";
*unavail_reason = "model has no GPU support";
}
return false;
}