cui-llama.rn 1.1.4 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -523,7 +523,7 @@ Java_com_rnllama_LlamaContext_doCompletion(
523
523
  }
524
524
  }
525
525
 
526
- llama_perf_print(llama->ctx, LLAMA_PERF_TYPE_CONTEXT);
526
+ llama_perf_context_print(llama->ctx);
527
527
  llama->is_predicting = false;
528
528
 
529
529
  auto result = createWriteableMap(env);
@@ -636,7 +636,7 @@ Java_com_rnllama_LlamaContext_embedding(
636
636
  llama->rewind();
637
637
 
638
638
  // llama_reset_timings(llama->ctx);
639
- llama_perf_reset(llama->ctx, LLAMA_PERF_TYPE_CONTEXT);
639
+ llama_perf_context_reset(llama->ctx);
640
640
  gpt_sampler_reset(llama->ctx_sampling);
641
641
 
642
642