summaryrefslogtreecommitdiff
path: root/examples/passkey
diff options
context:
space:
mode:
Diffstat (limited to 'examples/passkey')
-rw-r--r--examples/passkey/passkey.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/passkey/passkey.cpp b/examples/passkey/passkey.cpp
index 47de67a9..2cbc9e1f 100644
--- a/examples/passkey/passkey.cpp
+++ b/examples/passkey/passkey.cpp
@@ -182,7 +182,7 @@ int main(int argc, char ** argv) {
llama_kv_cache_seq_rm (ctx, 0, n_keep , n_keep + n_discard);
llama_kv_cache_seq_add(ctx, 0, n_keep + n_discard, n_ctx, -n_discard);
- llama_kv_cache_defrag (ctx);
+ //llama_kv_cache_defrag (ctx);
llama_kv_cache_update (ctx);
n_past = llama_kv_cache_seq_pos_max(ctx, 0) + 1;
@@ -213,7 +213,7 @@ int main(int argc, char ** argv) {
llama_kv_cache_seq_rm (ctx, 0, n_keep , n_keep + n_discard);
llama_kv_cache_seq_add(ctx, 0, n_keep + n_discard, n_ctx, -n_discard);
- llama_kv_cache_defrag (ctx);
+ //llama_kv_cache_defrag (ctx);
llama_kv_cache_update (ctx);
n_past = llama_kv_cache_seq_pos_max(ctx, 0) + 1;