diff options
Diffstat (limited to 'examples/simple')
| -rw-r--r-- | examples/simple/simple.cpp | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/examples/simple/simple.cpp b/examples/simple/simple.cpp index 2d913ce..aa2c435 100644 --- a/examples/simple/simple.cpp +++ b/examples/simple/simple.cpp @@ -66,7 +66,7 @@ int main(int argc, char ** argv)      // Init LLM :      //--------------------------------- -    llama_init_backend(params.numa); +    llama_backend_init(params.numa);      llama_model * model;      llama_context * ctx; @@ -173,6 +173,8 @@ int main(int argc, char ** argv)      llama_free( ctx );      llama_free_model( model ); +    llama_backend_free(); +      return 0;  } | 
