llama : fix init in several tools/examples (#29632)
This commit is contained in:
1 parent
18bbc46b46
commit
6d78fb0727
5 files changed
+7
-6
No files matched your search
@@ -41,6 +41,9 @@ int llama_cli(int argc, char ** argv) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
llama_backend_init();
|
||||
llama_numa_init(params.numa);
|
||||
|
||||
#if defined (__unix__) || (defined (__APPLE__) && defined (__MACH__))
|
||||
struct sigaction sigint_action;
|
||||
sigint_action.sa_handler = signal_handler;
|
||||
|
||||
Reference in new issue
Block a user