react-native-executorch 0.5.14 → 0.5.15-rc1

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.
@@ -47,7 +47,7 @@ public:
47
47
 
48
48
  #ifdef __ANDROID__
49
49
  detectCPUTopology();
50
- numThreads = std::min(numThreads, performanceCores.size());
50
+ numThreads = std::max(std::min(numThreads, performanceCores.size()), 2lu);
51
51
  #endif
52
52
 
53
53
  for (size_t i = 0; i < numThreads; i++) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-executorch",
3
- "version": "0.5.14",
3
+ "version": "0.5.15-rc1",
4
4
  "description": "An easy way to run AI models in React Native with ExecuTorch",
5
5
  "source": "./src/index.ts",
6
6
  "main": "./lib/module/index.js",