From: Georgi Gerganov Date: Tue, 30 Apr 2024 12:52:21 +0000 (+0300) Subject: metal : remove deprecated error code (llama/7008) X-Git-Tag: upstream/1.7.4~794 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=1bce67999d6d9f5dee074519273301ef63c6abc4;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp metal : remove deprecated error code (llama/7008) --- diff --git a/ggml-metal.m b/ggml-metal.m index 43752f72..160d5c39 100644 --- a/ggml-metal.m +++ b/ggml-metal.m @@ -2815,9 +2815,9 @@ static enum ggml_status ggml_metal_graph_compute( case MTLCommandBufferErrorMemoryless: GGML_METAL_LOG_INFO("GPU ran out of one or more of its internal resources that support memoryless render pass attachments\n"); break; - case MTLCommandBufferErrorDeviceRemoved: - GGML_METAL_LOG_INFO("device removed\n"); - break; + //case MTLCommandBufferErrorDeviceRemoved: + // GGML_METAL_LOG_INFO("device removed\n"); + // break; case MTLCommandBufferErrorStackOverflow: GGML_METAL_LOG_INFO("kernel function of tile shader used too many stack frames\n"); break;