diff --git a/koboldcpp.py b/koboldcpp.py index cc2ba50d4dc91..99026ab857adb 100644 --- a/koboldcpp.py +++ b/koboldcpp.py @@ -225,7 +225,7 @@ def utfprint(str): maxhordelen = 256 modelbusy = False defaultport = 5001 -KcppVersion = "1.32.2" +KcppVersion = "1.32.3" showdebug = True class ServerRequestHandler(http.server.SimpleHTTPRequestHandler): diff --git a/otherarch/mpt_v3.cpp b/otherarch/mpt_v3.cpp index b611b0703b8ba..100e635ba8645 100644 --- a/otherarch/mpt_v3.cpp +++ b/otherarch/mpt_v3.cpp @@ -87,14 +87,14 @@ bool mpt_model_load(const std::string & fname, mpt_model & model, gpt_vocab & vo word.assign(buf.data(), len); // Convert token from utf-8 - std::wstring word_multibytes = convert_to_wstring(word); - if(word_multibytes!=L"") - { - word.resize(word_multibytes.size()); - for (int w = 0; w < word_multibytes.size(); w++) { - word[w] = uint8_t(word_multibytes[w]); - } - } + // std::wstring word_multibytes = convert_to_wstring(word); + // if(word_multibytes!=L"") + // { + // word.resize(word_multibytes.size()); + // for (int w = 0; w < word_multibytes.size(); w++) { + // word[w] = uint8_t(word_multibytes[w]); + // } + // } vocab.token_to_id[word] = i; vocab.id_to_token[i] = word;