Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion common/download.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ struct gguf_split_info {

static gguf_split_info get_gguf_split_info(const std::string & path) {
static const std::regex re_split("^(.+)-([0-9]{5})-of-([0-9]{5})$", std::regex::icase);
static const std::regex re_tag("[-.]([A-Z0-9_]+)$", std::regex::icase);
static const std::regex re_tag("[-.]((?:[A-Z]+-)?[A-Z][0-9][A-Z0-9_]*)$", std::regex::icase);
std::smatch m;

std::string prefix = path;
Expand Down
Loading