lookup: fibonacci hashing, fix crashes (#8548)

This commit is contained in:
Johannes Gäßler 2024-07-17 23:35:44 +02:00 committed by GitHub
parent b3283448ce
commit e02b597be3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 11 additions and 6 deletions

View file

@ -39,7 +39,6 @@ int main(int argc, char ** argv){
// load the model
std::tie(model, ctx) = llama_init_from_gpt_params(params);
GGML_ASSERT(llama_n_vocab(model) < (1 << 16));
// tokenize the prompt
std::vector<llama_token> inp;