You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a build with Metal according to the README, see:
(base) ➜ bert.cpp-future git:(master) make -C build
[ 50%] Built target ggml
[ 58%] Building CXX object src/CMakeFiles/bert.dir/bert.cpp.o
In file included from /Users/turbo/dev/bert.cpp-future/src/bert.cpp:9:
/Users/turbo/dev/bert.cpp-future/src/bert.h:186:22: warning: 'bert_tokenize' has C-linkage specified, but returns incomplete type 'bert_tokens' (aka 'vector<int>') which could be incompatible with C [-Wreturn-type-c-linkage]
BERT_API bert_tokens bert_tokenize(
^
/Users/turbo/dev/bert.cpp-future/src/bert.h:192:22: warning: 'bert_detokenize' has C-linkage specified, but returns user-defined type 'bert_string' (aka 'basic_string<char>') which is incompatible with C [-Wreturn-type-c-linkage]
BERT_API bert_string bert_detokenize(
^
/Users/turbo/dev/bert.cpp-future/src/bert.cpp:358:33: error: no matching function for call to 'min'
memcpy(output, str.c_str(), std::min(n_output, str.size()));
^~~~~~~~
The text was updated successfully, but these errors were encountered:
Yeah, I think that probably needs an <algorithm> include. More importantly though, we got merged into llama.cpp, so this repo is mostly defunct. Check it out over there!
For a build with Metal according to the README, see:
The text was updated successfully, but these errors were encountered: