summaryrefslogtreecommitdiff
path: root/examples/batched-bench
diff options
context:
space:
mode:
Diffstat (limited to 'examples/batched-bench')
-rw-r--r--examples/batched-bench/batched-bench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/batched-bench/batched-bench.cpp b/examples/batched-bench/batched-bench.cpp
index 43f9c971..533c55c1 100644
--- a/examples/batched-bench/batched-bench.cpp
+++ b/examples/batched-bench/batched-bench.cpp
@@ -185,7 +185,7 @@ int main(int argc, char ** argv) {
const auto t_pp_start = ggml_time_us();
- llama_kv_cache_tokens_rm(ctx, -1, -1);
+ llama_kv_cache_clear(ctx);
if (!decode_helper(ctx, batch, ctx_params.n_batch)) {
LOG_TEE("%s: llama_decode() failed\n", __func__);