From ec2e10c4443209da56b431b24dd0845b60e757fb Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sat, 20 May 2023 11:06:11 +0300 Subject: llama : add llama_init_backend() API (close #1527) --- examples/perplexity/perplexity.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples/perplexity/perplexity.cpp') diff --git a/examples/perplexity/perplexity.cpp b/examples/perplexity/perplexity.cpp index 9d38626c..e19c6825 100644 --- a/examples/perplexity/perplexity.cpp +++ b/examples/perplexity/perplexity.cpp @@ -143,6 +143,8 @@ int main(int argc, char ** argv) { params.prompt = gpt_random_prompt(rng); } + llama_init_backend(); + llama_context * ctx; // load the model and apply lora adapter, if any -- cgit v1.2.3