-
Notifications
You must be signed in to change notification settings - Fork 23k
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
Ensure num_threads is initialized before calling omp_get_max_threads #60185
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: pytorch_linux_xenial_py3_6_gcc5_4_build (1/2)Step: "(Optional) Merge target branch" (full log | diagnosis details | 🔁 rerun)
|
`get_num_threads` is usually called before `parallel_for` so there's no guaruntee we've initialized `num_threads` properly. ghstack-source-id: d2e165b075ce8a8d57aa01c7f6aec2d85448e6a1 Pull Request resolved: #60185
…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]
`get_num_threads` is usually called before `parallel_for` so there's no guaruntee we've initialized `num_threads` properly. ghstack-source-id: fe8c5fc57df8f568fdcf89c7295ee5a45bb0e997 Pull Request resolved: #60185
@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]
`get_num_threads` is usually called before `parallel_for` so there's no guaruntee we've initialized `num_threads` properly. ghstack-source-id: fb0c6c96b67673f05b7fe7a06850acc43a6b2a8a Pull Request resolved: #60185
@ngimel has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Stack from ghstack:
get_num_threads
is usually called beforeparallel_for
so there's noguaruntee we've initialized
num_threads
properly.Differential Revision: D29287814