mirror of https://gitee.com/namelin2022/ollama
committed by
GitHub
1 changed files with 13 additions and 0 deletions
@ -0,0 +1,13 @@ |
|||
diff --git a/llama.cpp b/llama.cpp
|
|||
index b27aa272..99372f9c 100644
|
|||
--- a/llama.cpp
|
|||
+++ b/llama.cpp
|
|||
@@ -9360,7 +9360,7 @@ struct llm_tokenizer_wpm {
|
|||
} |
|||
|
|||
uint32_t to_lower(uint32_t code) { |
|||
- static const std::locale locale("en_US.UTF-8");
|
|||
+ static const std::locale locale("");
|
|||
#if defined(_WIN32) |
|||
if (code > 0xFFFF) { |
|||
return code; |
|||
Loading…
Reference in new issue