Commit 91f2fa52 for whisper.cpp
commit 91f2fa52f493b3db17ca3be3f81a2b2a3744b942
Author: Georgi Gerganov <ggerganov@gmail.com>
Date: Wed Oct 14 12:36:52 2026 +0300
ggml : add note about mul_mat_id + disable mul_mat_id_dup tests (llama/30501)
diff --git a/ggml/include/ggml.h b/ggml/include/ggml.h
index 224bdef9..23ea6437 100644
--- a/ggml/include/ggml.h
+++ b/ggml/include/ggml.h
@@ -1497,6 +1497,11 @@ extern "C" {
enum ggml_op_hint hint);
// indirect matrix multiplication
+ //
+ // [TAG_MUL_MAT_ID_DUPLICATE_ID]
+ // note: this op has undefined behaviour if a given `a` is referenced more than once for a given `b`
+ // (i.e. duplicate experts per token are not guaranteed to be supported in all backends)
+ // TODO: add backend support: https://github.com/ggml-org/llama.cpp/pull/29998#issuecomment-6153742533
GGML_API struct ggml_tensor * ggml_mul_mat_id(
struct ggml_context * ctx,
struct ggml_tensor * as,