From: bobqianic Date: Thu, 21 Dec 2023 17:06:44 +0000 (+0000) Subject: cuda : better error message for ggml_get_rows (#4561) X-Git-Tag: upstream/0.0.4488~2820 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=66f35a2f48e1965a13835a523e677223dbf148be;p=pkg%2Fggml%2Fsources%2Fllama.cpp cuda : better error message for ggml_get_rows (#4561) * Update ggml-cuda.cu * Update ggml-cuda.cu * Update ggml-cuda.cu --------- Co-authored-by: Georgi Gerganov --- diff --git a/ggml-cuda.cu b/ggml-cuda.cu index e7c9dee4..1ca071d9 100644 --- a/ggml-cuda.cu +++ b/ggml-cuda.cu @@ -6815,6 +6815,7 @@ static void ggml_cuda_op_get_rows( break; default: // TODO: k-quants + fprintf(stderr, "%s: unsupported type: %s\n", __func__, ggml_type_name(src0->type)); GGML_ASSERT(false); break; }