mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Revert n_threads and n_threads_batch change
This commit is contained in:
parent
15eb04895d
commit
f261de9fab
@ -52,9 +52,8 @@ LanguageModel *LlamaAdapter::createLanguageModel(const std::string &modelPath) {
|
||||
|
||||
llama_context_params ctx_params = llama_context_default_params();
|
||||
ctx_params.n_ctx = LLAMA_CONTEXT_SIZE;
|
||||
ctx_params.n_threads = 4;
|
||||
ctx_params.n_threads_batch = 4;
|
||||
ctx_params.n_batch = 128;
|
||||
ctx_params.n_threads = 1;
|
||||
ctx_params.n_threads_batch = 1;
|
||||
|
||||
adapter->n_batch = ctx_params.n_batch;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user