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
Pull Request resolved: #114011
Approved by: https://github.com/kit1980
ghstack dependencies: #113771
0 commit comments