Pass WITH_BLAS option from environment to CMake#59220
Pass WITH_BLAS option from environment to CMake#59220Flamefire wants to merge 1 commit intopytorch:masterfrom
Conversation
Allows to choose the BLAS backend with Eigen
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit 809f365 (more details on the Dr. CI page): 💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.Please report bugs/suggestions to the (internal) Dr. CI Users group. |
|
Fixes #60328 |
|
Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as |
|
oh no i had missed this a year ago! |
|
@pytorchbot merge this please! |
|
@adamjstewart Sorry about that--please don't hesitate to ping me (the designated reviewer) if I have not responded within 1-2 business days next time. |
|
Merge failed due to Command Raised by https://github.com/pytorch/pytorch/actions/runs/2163560943 |
|
Oh, it looks like it's too old to be merged. Can you rebase locally and repush and I'll merge it then? |
|
@Flamefire are you able to rebase this PR on master? If not I can push a similar PR. Would be good to see this merged. |
|
@adamjstewart Thanks for the ping. Rebased this but it seems it doesn't show up in this PR as it got already closed @janeyx99 I opened a new PR #78037 with the same branch and copied the description. This still applies so please merge soon to avoid further conflicts. |
Allows to choose the BLAS backend with Eigen. Previously this was a CMake option only and the env variable was ignored. Related to f1f3c8b The claimed options BLAS=BLIS WITH_BLAS=blis are misleading: When BLAS=BLIS is set the WITH_BLAS option does not matter at all, it would only matter for BLAS=Eigen hence this issue went undetected so far. Supersedes #59220 Pull Request resolved: #78037 Approved by: https://github.com/adamjstewart, https://github.com/janeyx99
Summary: Allows to choose the BLAS backend with Eigen. Previously this was a CMake option only and the env variable was ignored. Related to f1f3c8b The claimed options BLAS=BLIS WITH_BLAS=blis are misleading: When BLAS=BLIS is set the WITH_BLAS option does not matter at all, it would only matter for BLAS=Eigen hence this issue went undetected so far. Supersedes #59220 Pull Request resolved: #78037 Approved by: https://github.com/adamjstewart, https://github.com/janeyx99 Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/d5f99581b508df04edecbd0be10312b4b6d5ae03 Reviewed By: mehtanirav Differential Revision: D36668892 fbshipit-source-id: 659d2168dd0c3372776ae82616554d0799c91cf9
Allows to choose the BLAS backend with Eigen. Previously this was a CMake option only and the env variable was ignored.
Related to f1f3c8b
The claimed options
BLAS=BLIS WITH_BLAS=blisare misleading: WhenBLAS=BLISis set theWITH_BLASoption does not matter at all, it would only matter forBLAS=Eigenhence this issue went undetected so far.