summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbobqianic <129547291+bobqianic@users.noreply.github.com>2023-12-21 17:06:44 +0000
committerGitHub <noreply@github.com>2023-12-21 19:06:44 +0200
commit66f35a2f48e1965a13835a523e677223dbf148be (patch)
tree5c23a8d4dc86be7d4f2b9408de6fda28623cbde6
parent139882392258671ffe5acdfcadc0bc08572d6eef (diff)
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 <ggerganov@gmail.com>
-rw-r--r--ggml-cuda.cu1
1 files changed, 1 insertions, 0 deletions
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;
}