diff options
author | SIGSEGV <21287366+akr2002@users.noreply.github.com> | 2023-07-11 00:36:02 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-11 00:36:02 +0530 |
commit | c1f29d1bb1d9f3084c9dc177fe9bf9269b9e35af (patch) | |
tree | 2caac8240545f2639f3efa3a4d13c24dfd5b92f6 /examples/quantize | |
parent | 26a3a9952636e8e5332e1cdc4f552d32e61b12ce (diff) | |
parent | 5656d10599bd756dc0f17284e418e704200b43f3 (diff) |
Merge branch 'ggerganov:master' into master
Diffstat (limited to 'examples/quantize')
-rw-r--r-- | examples/quantize/quantize.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/quantize/quantize.cpp b/examples/quantize/quantize.cpp index 1eb0f75..797d2f0 100644 --- a/examples/quantize/quantize.cpp +++ b/examples/quantize/quantize.cpp @@ -180,7 +180,7 @@ int main(int argc, char ** argv) { usage(argv[0]); } - llama_init_backend(false); + llama_backend_init(false); // parse command line arguments const std::string fname_inp = argv[arg_idx]; @@ -257,5 +257,7 @@ int main(int argc, char ** argv) { printf("%s: total time = %8.2f ms\n", __func__, (t_main_end_us - t_main_start_us)/1000.0); } + llama_backend_free(); + return 0; } |