From a6d3e9a23951d7f3e02a1caa1482f5742d6b9985 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sun, 22 Feb 2026 21:37:58 +0200 Subject: [PATCH] ggml : relax asseerts for ggml_get_type_traits() --- ggml/src/ggml.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ggml/src/ggml.c b/ggml/src/ggml.c index 5a996a772e..e9529fbb66 100644 --- a/ggml/src/ggml.c +++ b/ggml/src/ggml.c @@ -899,8 +899,8 @@ static const struct ggml_type_traits type_traits[GGML_TYPE_COUNT] = { }; const struct ggml_type_traits * ggml_get_type_traits(enum ggml_type type) { - GGML_ASSERT(type >= 0); - GGML_ASSERT(type < GGML_TYPE_COUNT); + assert(type >= 0); + assert(type < GGML_TYPE_COUNT); return &type_traits[type]; }