You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It can fail on ARM platform if `/sys` folder is not accessible.
In that case, call `std::thread::hardware_concurrency()`, which is
aligned with the thread_pool initialization logic of `c10::TaskThreadPoolBase:defaultNumThreads()`
Further addresses issue raised in #113568
This is a cherry-pick of #114011 into release/2.1 branch
(cherry picked from commit 310e306)
0 commit comments