{"action":"created","issue":{"url":"https://api.github.com/repos/diana-hep/pyhf/issues/249","repository_url":"https://api.github.com/repos/diana-hep/pyhf","labels_url":"https://api.github.com/repos/diana-hep/pyhf/issues/249/labels{/name}","comments_url":"https://api.github.com/repos/diana-hep/pyhf/issues/249/comments","events_url":"https://api.github.com/repos/diana-hep/pyhf/issues/249/events","html_url":"https://github.com/diana-hep/pyhf/issues/249","id":358384903,"node_id":"MDU6SXNzdWUzNTgzODQ5MDM=","number":249,"title":"Investigate performance improvement of BLAS & LAPACK with MKL","user":{"login":"matthewfeickert","id":5142394,"node_id":"MDQ6VXNlcjUxNDIzOTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/5142394?v=4","gravatar_id":"","url":"https://api.github.com/users/matthewfeickert","html_url":"https://github.com/matthewfeickert","followers_url":"https://api.github.com/users/matthewfeickert/followers","following_url":"https://api.github.com/users/matthewfeickert/following{/other_user}","gists_url":"https://api.github.com/users/matthewfeickert/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewfeickert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewfeickert/subscriptions","organizations_url":"https://api.github.com/users/matthewfeickert/orgs","repos_url":"https://api.github.com/users/matthewfeickert/repos","events_url":"https://api.github.com/users/matthewfeickert/events{/privacy}","received_events_url":"https://api.github.com/users/matthewfeickert/received_events","type":"User","site_admin":false},"labels":[{"id":919451381,"node_id":"MDU6TGFiZWw5MTk0NTEzODE=","url":"https://api.github.com/repos/diana-hep/pyhf/labels/research","name":"research","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-09T14:58:38Z","updated_at":"2018-09-09T15:44:01Z","closed_at":null,"author_association":"COLLABORATOR","body":"For CPU performance it will be important to not use the default [BLAS](http://www.netlib.org/blas/) and [LAPACK](http://www.netlib.org/lapack/). Instead it is probably worthwhile looking into using [MKL](https://software.intel.com/en-us/mkl) or [ATLAS](http://math-atlas.sourceforge.net/).\r\n\r\nThis should affect things like PR #231.\r\n\r\nc.f.\r\n- [Boosting numpy: Why BLAS Matters](http://markus-beuckelmann.de/blog/boosting-numpy-blas.html)\r\n- [Building NumPy and SciPy with Intel MKL](https://www.elliottforney.com/blog/npspmkl/)\r\n\r\nTo check BLAS & LAPACK info:\r\n\r\n```python\r\n>>> import numpy as np\r\n>>> np.__config__.show()\r\n```"},"comment":{"url":"https://api.github.com/repos/diana-hep/pyhf/issues/comments/419724628","html_url":"https://github.com/diana-hep/pyhf/issues/249#issuecomment-419724628","issue_url":"https://api.github.com/repos/diana-hep/pyhf/issues/249","id":419724628,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTcyNDYyOA==","user":{"login":"matthewfeickert","id":5142394,"node_id":"MDQ6VXNlcjUxNDIzOTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/5142394?v=4","gravatar_id":"","url":"https://api.github.com/users/matthewfeickert","html_url":"https://github.com/matthewfeickert","followers_url":"https://api.github.com/users/matthewfeickert/followers","following_url":"https://api.github.com/users/matthewfeickert/following{/other_user}","gists_url":"https://api.github.com/users/matthewfeickert/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewfeickert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewfeickert/subscriptions","organizations_url":"https://api.github.com/users/matthewfeickert/orgs","repos_url":"https://api.github.com/users/matthewfeickert/repos","events_url":"https://api.github.com/users/matthewfeickert/events{/privacy}","received_events_url":"https://api.github.com/users/matthewfeickert/received_events","type":"User","site_admin":false},"created_at":"2018-09-09T15:44:01Z","updated_at":"2018-09-09T15:44:01Z","author_association":"COLLABORATOR","body":"This will, of course, also affect the other backends\r\n\r\n- [TensorFlow: Optimizing for GPU\r\n](https://www.tensorflow.org/performance/performance_guide#optimizing_for_gpu)\r\n- [PyTorch Internals Part II - The Build System](https://pytorch.org/2017/06/27/Internals2.html)"}}
{"actor":{"display_login":"matthewfeickert"}}