From 8b408869ae97ebdbf5c55fb9e5dd7feac3446087 Mon Sep 17 00:00:00 2001 From: "Yu, Zijun" Date: Thu, 17 Apr 2025 17:42:44 +0800 Subject: [PATCH] Arbitrary token len (>32) work; Fix bug in mulmat --- ggml/src/ggml-openvino/ggml-decoder.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/ggml/src/ggml-openvino/ggml-decoder.cpp b/ggml/src/ggml-openvino/ggml-decoder.cpp index d7895c3d7f..b1fc8ec67e 100644 --- a/ggml/src/ggml-openvino/ggml-decoder.cpp +++ b/ggml/src/ggml-openvino/ggml-decoder.cpp @@ -56,13 +56,8 @@ void GgmlOvDecoder::set_input_output(ggml_tensor* node, std::mapsrc[1]) || - node->src[1]->ne[0] * node->src[1]->nb[0] != node->src[1]->nb[1]) { - m_continuous = false; - } else { - m_continuous = true; - } - break; + m_continuous = node->src[0]->view_src == nullptr; + break; } default: break;