8000 Eval bug: std::regex to split the text · Issue #13691 · ggml-org/llama.cpp · GitHub
[go: up one dir, main page]

Skip to content

Eval bug: std::regex to split the text #13691

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
luoyexuge opened this issue May 21, 2025 · 0 comments
Open

Eval bug: std::regex to split the text #13691

luoyexuge opened this issue May 21, 2025 · 0 comments

Comments

@luoyexuge
Copy link

Name and Version

In the file lama.cpp/src/unicode.cpp, the function std::vectorstd::string unicode_regex_split(const std::string & text, const std::vectorstd::string & regex_exprs) calls the static function static std::vector<size_t> unicode_regex_split_stl(const std::string & text, const std::string & regex_expr, const std::vector<size_t> & offsets). When running in a low-version GCC 4.8.5 environment, it reports an error indicating that regular expressions are not supported.

Operating systems

Linux

GGML backends

CPU

Hardware

Qwen model

Models

No response

Problem description & steps to reproduce

Qwen mode

First Bad Commit

No response

Relevant log output

Qwen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant
0