Skip to content

Commit 030918c

Browse files
mkopcinsMateusz Kopciński
andauthored
chore: v0.5.14 (#672)
## Description Release 0.5.14 with threadpool 0 worker bug ### Introduces a breaking change? - [ ] Yes - [x] No ### Type of change - [x] Bug fix (change which fixes an issue) - [ ] New feature (change which adds functionality) - [ ] Documentation update (improves or adds clarity to existing documentation) - [ ] Other (chores, tests, code style improvements etc.) ### Tested on - [x] iOS - [x] Android ### Testing instructions <!-- Provide step-by-step instructions on how to test your changes. Include setup details if necessary. --> ### Screenshots <!-- Add screenshots here, if applicable --> ### Related issues <!-- Link related issues here using #issue-number --> ### Checklist - [ ] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have updated the documentation accordingly - [ ] My changes generate no new warnings ### Additional notes <!-- Include any additional information, assumptions, or context that reviewers might need to understand this PR. --> --------- Co-authored-by: Mateusz Kopciński <mateusz.kopcinski@swmansnion.com>
1 parent 596af23 commit 030918c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/react-native-executorch/common/rnexecutorch/threads/GlobalThreadPool.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ class GlobalThreadPool {
3333
::executorch::extension::cpuinfo::get_num_performant_cores();
3434
}
3535

36+
numThreads = std::max(numThreads.value(), 2u);
3637
log(rnexecutorch::LOG_LEVEL::Info, "Initializing global thread pool with",
3738
numThreads, "threads");
3839
instance = std::make_unique<HighPerformanceThreadPool>(numThreads.value(),

packages/react-native-executorch/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-executorch",
3-
"version": "0.5.13",
3+
"version": "0.5.14",
44
"description": "An easy way to run AI models in React Native with ExecuTorch",
55
"source": "./src/index.ts",
66
"main": "./lib/module/index.js",

0 commit comments

Comments
 (0)