-
Notifications
You must be signed in to change notification settings - Fork 222
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
aarch64 OpenBLAS: set NUM_THREADS=64 to support aarch64 instances upto 64 cores #818
Conversation
instances upto 64 cores This patch sets the max thread count allowed on any instance is 64. However, the actual openblas threads used are controlled by application runtime settings.
Hi @snadampal! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change looks good to me, but please sign CLA first
Thanks, @malfet. I'm working on the CLA signing process. |
Hi @snadampal, @malfet, Just as an additional check, I've been trying this out with various combinations of machine and |
@nSircombe and how did you solve the TLS cannot be allocated issue? |
I've not been using the script from I don't get the TLS error on these, the only time I've seen it is this recent attempt to use the script from the The Tool Solutions builds are, of course, not portable manylinux whls though. |
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks! |
It's probably worth noting that hardwiring to 64 cores (while better than getting a build that tops out at 8) isn't ideal for silicon with >64 cores, as some N1 SoCs have. |
I agree with you @nSircombe, as the number of cores become > 64, this parameters needs change. |
This patch sets the max thread count allowed on any instance is 64.
However, the actual openblas threads used are controlled by application runtime
settings.