common : fix get_gguf_split_info (#20946)

Signed-off-by: Adrien Gallouët <angt@huggingface.co>
This commit is contained in:
Adrien Gallouët 2026-03-24 13:33:14 +01:00 committed by GitHub
parent a94fdb090a
commit 42ebce3beb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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;