]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
cuda : better error message for ggml_get_rows (#4561)
authorbobqianic <redacted>
Thu, 21 Dec 2023 17:06:44 +0000 (17:06 +0000)
committerGitHub <redacted>
Thu, 21 Dec 2023 17:06:44 +0000 (19:06 +0200)
* Update ggml-cuda.cu

* Update ggml-cuda.cu

* Update ggml-cuda.cu

---------

Co-authored-by: Georgi Gerganov <redacted>
ggml-cuda.cu

index e7c9dee4560635efd4f7b89cb1da74e41c494ba6..1ca071d90b935a113d7462cbac1aa019e5b4f03e 100644 (file)
@@ -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;
     }