From 00b8aa1e66472806fa2bc5a342e6d1c05d817065 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sun, 9 Jul 2023 22:31:54 +0300 Subject: [PATCH] tests : fix new llama_backend API --- tests/test-tokenizer-0.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test-tokenizer-0.cpp b/tests/test-tokenizer-0.cpp index 1d8759a27..87fde1645 100644 --- a/tests/test-tokenizer-0.cpp +++ b/tests/test-tokenizer-0.cpp @@ -31,7 +31,7 @@ int main(int argc, char **argv) { llama_model * model; llama_context * ctx; - llama_init_backend(false); + llama_backend_init(false); // load the vocab { @@ -99,7 +99,7 @@ int main(int argc, char **argv) { llama_free_model(model); llama_free(ctx); - llama_finalize_backend(); + llama_backend_free(); return 0; }