-
Notifications
You must be signed in to change notification settings - Fork 14.1k
llama : refactor unicode stuff #5992
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
Conversation
|
Whenever I save the https://github.com/ggerganov/llama.cpp/actions/runs/8230676605/job/22504415172?pr=5992#step:3:91 Does anyone have an idea how to make vim save it in the proper format? |
|
I don't know about VIM, but the prefix that you mention is called BOM (byte order mark). It should have an option to save with BOM. |
|
Thanks - the command is |
ggml-ci
6ab22d2 to
3680bc2
Compare
* llama : refactor unicode stuff ggml-ci * unicode : names * make : fix c++ compiler * unicode : names * unicode : straighten tables * zig : fix build * unicode : put nfd normalization behind API ggml-ci * swift : fix build * unicode : add BOM * unicode : add <cstdint> ggml-ci * unicode : pass as cpts as const ref
* llama : refactor unicode stuff ggml-ci * unicode : names * make : fix c++ compiler * unicode : names * unicode : straighten tables * zig : fix build * unicode : put nfd normalization behind API ggml-ci * swift : fix build * unicode : add BOM * unicode : add <cstdint> ggml-ci * unicode : pass as cpts as const ref
ref #5981
unicode.cppand move codepoint tables thereunicode_unicode.hBuild time when touching
llama.cppsource file is now improved by ~25%