@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.
@@ -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
- // Load dynamic backends if needed
136
- ggml_backend_load_all();
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@novastera-oss/llamarn",
3
- "version": "0.1.3-beta.1",
3
+ "version": "0.1.3-beta.2",
4
4
  "description": "An attempt at a pure cpp turbo module library",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/module/index.js",