-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Ensure num_threads is initialized before calling omp_get_max_threads #60185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
`get_num_threads` is usually called before `parallel_for` so there's no guaruntee we've initialized `num_threads` properly. [ghstack-poisoned]
💊 CI failures summary and remediationsAs of commit 38d45ca (more details on the Dr. CI page and at hud.pytorch.org/pr/60185):
🕵️ 2 new failures recognized by patternsThe following CI failures do not appear to be due to upstream breakages:
|
…ax_threads" `get_num_threads` is usually called before `parallel_for` so there's no guaruntee we've initialized `num_threads` properly. [ghstack-poisoned]
…ax_threads" `get_num_threads` is usually called before `parallel_for` so there's no guaruntee we've initialized `num_threads` properly. [ghstack-poisoned]
…ax_threads" `get_num_threads` is usually called before `parallel_for` so there's no guaruntee we've initialized `num_threads` properly. [ghstack-poisoned]
…ax_threads" `get_num_threads` is usually called before `parallel_for` so there's no guaruntee we've initialized `num_threads` properly. [ghstack-poisoned]
…ax_threads" `get_num_threads` is usually called before `parallel_for` so there's no guaruntee we've initialized `num_threads` properly. [ghstack-poisoned]
…ax_threads" `get_num_threads` is usually called before `parallel_for` so there's no guaruntee we've initialized `num_threads` properly. [ghstack-poisoned]
|
@ngimel has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
…ax_threads" `get_num_threads` is usually called before `parallel_for` so there's no guaruntee we've initialized `num_threads` properly. Differential Revision: [D29287814](https://our.internmc.facebook.com/intern/diff/D29287814) [ghstack-poisoned]
|
@ngimel has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Stack from ghstack:
get_num_threadsis usually called beforeparallel_forso there's noguaruntee we've initialized
num_threadsproperly.Differential Revision: D29287814