Replies: 1 comment
-
The C standard specifies at least 16 bits. In reality, since the 1990's 32-bit CPU's and OS's This has already been reported, actually: #1354 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
For example, the definition(used to return the size of vocab) in the file
llama.cpp
is:The C++ standard requires that the size of
int
be at least 16 bits, so the maximum value under the minimum size is 32767. In ymcui/Chinese-LLaMA-Alpaca, the vocab has been expanded to 49954. Is there an overflow that occurs when usingllama.cpp
in some cases?Beta Was this translation helpful? Give feedback.
All reactions