File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ class LLAMAModel : public Napi::ObjectWrap<LLAMAModel> {
39
39
}
40
40
}
41
41
42
- llama_backend_init (false );
42
+ llama_backend_init ();
43
43
model = llama_load_model_from_file (modelPath.c_str (), model_params);
44
44
45
45
if (model == NULL ) {
@@ -436,7 +436,7 @@ Napi::Value LLAMAContext::Eval(const Napi::CallbackInfo& info) {
436
436
Napi::Value systemInfo (const Napi::CallbackInfo& info) { return Napi::String::From (info.Env (), llama_print_system_info ()); }
437
437
438
438
Napi::Object registerCallback (Napi::Env env, Napi::Object exports) {
439
- llama_backend_init (false );
439
+ llama_backend_init ();
440
440
exports.DefineProperties ({
441
441
Napi::PropertyDescriptor::Function (" systemInfo" , systemInfo),
442
442
});
You can’t perform that action at this time.
0 commit comments