Closed Poufy closed 1 year ago
I encountered a similar problem. When I set the number of threads to 1, the print result of the number of threads is 1, but when I set the number of threads to be greater than or equal to 2, the print result of the number of threads is always 2 (In fact, I have 4 logical cores). I think it seems to set the wrong upper limit of the number of threads.
tfjs3.13.0, chrome98, win10
I noticed that wasm threads were not supported in my browser. So I enabled the SharedArrayBuffer and managed to toggle the support on. I see my threads count as 5, but I cannot seem to change it. I tried higher and lower values but it does not change.
Hi, @Poufy
Apologize for the delayed response and we're re-visiting our older issues and checking whether those issues got resolved or not as of now so May I know are you still looking for the solution or your issue got resolved ?
If issue still persists after trying with latest version of TFJs please let us know with error log and code snippet to replicate the same issue from our end ?
Could you please confirm if this issue is resolved for you ? Please feel free to close the issue if it is resolved ? Thank you!
This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.
This issue was closed due to lack of activity after being marked stale for past 7 days.
I have used the function like so without any issues before setting my backend to wasm just as described in the README.
However, after I set the backend to wasm and print the number of threads it still appears to be 1, which I am assuming to be the default.
Any idea what could be the result of this?