examples : add passkey test
This commit is contained in:
parent
9dede37d81
commit
21196da114
4 changed files with 270 additions and 0 deletions
|
@ -69,6 +69,7 @@ int main(int argc, char ** argv) {
|
|||
|
||||
std::vector<llama_token> tokens_list;
|
||||
tokens_list = ::llama_tokenize(model, params.prompt, true);
|
||||
|
||||
const int n_kv_req = tokens_list.size() + (n_len - tokens_list.size())*n_parallel;
|
||||
|
||||
// initialize the context
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue