summaryrefslogtreecommitdiff
path: root/examples/batched/batched.cpp
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2024-03-11 17:49:47 +0200
committerGitHub <noreply@github.com>2024-03-11 17:49:47 +0200
commit05b06210c954491cf0f12034b0a62bd4d69ce78b (patch)
tree8cce0e429b8591dcbabd2d1e1ea6451a6a2f6894 /examples/batched/batched.cpp
parent83796e62bc9f6caae6228168e359890f51e60fee (diff)
llama : more consistent names of count variables (#5994)
* llama : more consistent names of count variables ggml-ci * llama : n_parallel -> n_seq_max * common : fix param name * examples : fix param name
Diffstat (limited to 'examples/batched/batched.cpp')
-rw-r--r--examples/batched/batched.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/batched/batched.cpp b/examples/batched/batched.cpp
index dde4d5a0..ee1f8f1b 100644
--- a/examples/batched/batched.cpp
+++ b/examples/batched/batched.cpp
@@ -80,7 +80,7 @@ int main(int argc, char ** argv) {
ctx_params.seed = 1234;
ctx_params.n_ctx = n_kv_req;
ctx_params.n_batch = std::max(n_len, n_parallel);
- ctx_params.n_parallel = n_parallel;
+ ctx_params.n_seq_max = n_parallel;
ctx_params.n_threads = params.n_threads;
ctx_params.n_threads_batch = params.n_threads_batch == -1 ? params.n_threads : params.n_threads_batch;