From: Adrien Gallouët Date: Tue, 24 Mar 2026 12:33:14 +0000 (+0100) Subject: common : fix get_gguf_split_info (#20946) X-Git-Tag: upstream/0.0.8611~106 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=42ebce3bebeab64fbe71b667d1bafd9960e83cbf;p=pkg%2Fggml%2Fsources%2Fllama.cpp common : fix get_gguf_split_info (#20946) Signed-off-by: Adrien Gallouët --- diff --git a/common/download.cpp b/common/download.cpp index 151517b19..b0abbba8f 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;