@novastera-oss/llamarn 0.1.3-beta.1 → 0.1.3-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cpp/PureCppImpl.cpp +2 -2
- package/package.json +1 -1
package/cpp/PureCppImpl.cpp
CHANGED
|
@@ -132,8 +132,8 @@ jsi::Value PureCppImpl::initLlama(jsi::Runtime &runtime, jsi::Object options) {
|
|
|
132
132
|
throw std::runtime_error("model path is required");
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
//
|
|
136
|
-
|
|
135
|
+
// Initialize llama backend
|
|
136
|
+
llama_backend_init();
|
|
137
137
|
|
|
138
138
|
std::string model_path = options.getProperty(runtime, "model").asString(runtime).utf8(runtime);
|
|
139
139
|
SystemUtils::normalizeFilePath(model_path);
|