From 42ebce3bebeab64fbe71b667d1bafd9960e83cbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Gallou=C3=ABt?= Date: Tue, 24 Mar 2026 13:33:14 +0100 Subject: [PATCH] common : fix get_gguf_split_info (#20946) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Adrien Gallouët --- common/download.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/download.cpp b/common/download.cpp index 151517b19e..b0abbba8f6 100644 --- a/common/download.cpp +++ b/common/download.cpp @@ -460,9 +460,9 @@ static gguf_split_info get_gguf_split_info(const std::string & path) { int count = 1; if (std::regex_match(prefix, m, re_split)) { - prefix = m[1].str(); index = std::stoi(m[2].str()); count = std::stoi(m[3].str()); + prefix = m[1].str(); } std::string tag;