Title: How do I limit the nr of processors/threads/...? · Issue #51 · IntelPython/DPEP · GitHub
Open Graph Title: How do I limit the nr of processors/threads/...? · Issue #51 · IntelPython/DPEP
X Title: How do I limit the nr of processors/threads/...? · Issue #51 · IntelPython/DPEP
Description: I have tried with the following environment variables: keys = [ "OMP_NUM_THREADS", "MKL_NUM_THREADS", "NUMEXPR_NUM_THREADS", "OPENBLAS_NUM_THREADS", "VECLIB_MAXIMUM_THREADS", ] for key in keys: my_env[key] = str(num_procs) os.environ[key...
Open Graph Description: I have tried with the following environment variables: keys = [ "OMP_NUM_THREADS", "MKL_NUM_THREADS", "NUMEXPR_NUM_THREADS", "OPENBLAS_NUM_THREADS", "VECLIB_MAXIMUM_THREADS", ] for key in keys: my_...
X Description: I have tried with the following environment variables: keys = [ "OMP_NUM_THREADS", "MKL_NUM_THREADS", "NUMEXPR_NUM_THREADS", "OPENBLAS_NUM_THREADS", "VE...
Opengraph URL: https://github.com/IntelPython/DPEP/issues/51
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"How do I limit the nr of processors/threads/...?","articleBody":"I have tried with the following environment variables:\r\n\r\n```\r\nkeys = [\r\n \"OMP_NUM_THREADS\",\r\n \"MKL_NUM_THREADS\",\r\n \"NUMEXPR_NUM_THREADS\",\r\n \"OPENBLAS_NUM_THREADS\",\r\n \"VECLIB_MAXIMUM_THREADS\",\r\n ]\r\nfor key in keys:\r\n my_env[key] = str(num_procs)\r\n os.environ[key] = str(num_procs)\r\n```\r\n\r\nbut apparently, none of them actually limits the nr of procs spawned by dpnp. What am I missing, how can I limit them to investigate performance effects?","author":{"url":"https://github.com/GenieTim","@type":"Person","name":"GenieTim"},"datePublished":"2024-07-18T18:44:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/51/DPEP/issues/51"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:26d650e4-45f9-ea82-fb66-7af0a6cc050c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C41E:F2966:1BF5EB:273759:6978952A |
| html-safe-nonce | b805b6284d9e4f7cabd406e1817f99005e9d2e9df3dacc10e73766d7b10ca1a0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDFFOkYyOTY2OjFCRjVFQjoyNzM3NTk6Njk3ODk1MkEiLCJ2aXNpdG9yX2lkIjoiNjE1MzA3MzM3NDAwODgyNDc0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 05b63a9671185e03b9f3b6a75fac8c2adb9f740f18aa66b686a240486175aa2b |
| hovercard-subject-tag | issue:2417119480 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IntelPython/DPEP/51/issue_layout |
| twitter:image | https://opengraph.githubassets.com/da2ab9767106422ae30270b943fbe213b2f7efca418ea4b44f7ab12674f5dfa7/IntelPython/DPEP/issues/51 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/da2ab9767106422ae30270b943fbe213b2f7efca418ea4b44f7ab12674f5dfa7/IntelPython/DPEP/issues/51 |
| og:image:alt | I have tried with the following environment variables: keys = [ "OMP_NUM_THREADS", "MKL_NUM_THREADS", "NUMEXPR_NUM_THREADS", "OPENBLAS_NUM_THREADS", "VECLIB_MAXIMUM_THREADS", ] for key in keys: my_... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | GenieTim |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50 |
| turbo-cache-control | no-preview |
| go-import | github.com/IntelPython/DPEP git https://github.com/IntelPython/DPEP.git |
| octolytics-dimension-user_id | 20491374 |
| octolytics-dimension-user_login | IntelPython |
| octolytics-dimension-repository_id | 425937319 |
| octolytics-dimension-repository_nwo | IntelPython/DPEP |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 425937319 |
| octolytics-dimension-repository_network_root_nwo | IntelPython/DPEP |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 14920c7cb7d7c207b5e72684d0e6f23b65b849b3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width