-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
add SVML patch for LLVM 14 #192
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
numba/llvmlite#830 has been merged today. I presume this PR is still useful/relevant, or will be for the next release... |
cc @stuartarchibald / @sklam |
I think this is still needed. I see it is currently used in Numba's llvmdev recipe: Numba's recipe also tests with the Rather than deleting the file in this PR, should the test be reinstated instead? It is presently disabled in the llvmdev-feedstock/recipe/build.sh Line 57 in cc208b6
and llvmdev-feedstock/recipe/bld.bat Line 34 in cc208b6
|
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
@gmarkall @h-vetinari I think that the "SVML patch" from the llvmlite PR mentioned in the OP will indeed be needed to enable SVML support in Numba. The recently released Numba 0.57 depends on an |
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.
Can someone ask for a review for these patches on the llvm mailing list?
There's no mailing list anymore, there's only discourse now. How was this done for the last round of SVML patches? I'm guessing this will also raise questions about why this isn't being upstreamed etc.? |
IOW, I could open a thread on discourse, but I feel like I'm lacking quite a bit of context that would make it possible to ask for this intelligently (& hopefully successfully). |
@gmarkall @stuartarchibald @sklam |
Gentle ping @gmarkall @stuartarchibald @sklam |
They are very busy, but I managed to ask @stuartarchibald in an OOB conversation -- the thing is that these patches were not created by the Numba team, so we are probably not the best ones to try to upstream them. |
Thanks for asking @esc. I don't think the bar here is to upstream the patches, but to ask the request for review (to a release that's not supported anymore for almost a year) in a way that's successful. I don't feel I'm in a good position to do so, as I couldn't even say why or how llvmlite requires the SVML patches (other than for performance considerations, presumably) Also, AFAICT this is necessary for numba/llvmlite in conda-forge, so not exactly a detail. |
Ah, OK, so you want someone to review the patch as part of this PR? |
All I'm trying to address are the requested changes above, specifically [hyperlink added by me]:
That's something that I think someone from the numba/llvmlite team should do - ideally whoever updated the patch for LLVM 14. |
Ah, OK, so what you are trying to do is get someone from Numba to ask someone from LLVM to review the updated SVML Patch for LLVM 14? |
Yes. Though I'm only reiterating the request that was formulated by @isuruf in this thread, because no-one else was responding. |
I did, but I failed to understand that this PR can't go further until that review request happens (which I think is implied - please do clarify if I've misunderstood).
Many thanks for summarising. |
@Hardcode84 have you had a chance to create this post on LLVM's Discourse? For more context, think maintainers here are asking for your help as maintaining these patches in this build often is at the edge of (if not outside) their experience (or comfort level). Particularly as these patches get rebased over time (and conflicts naturally arise raising questions as to how best to address them) Reading over your comment above, I get the impression that this is a pain that you are somewhat familiar with (though you seem to have more expertise in resolving these matters) In any event, thought this contextualization of this request might help clarify why people are asking about upstreaming. Thanks again for your help! 🙏 |
Sorry for delay, I've created thread about upstreaming https://discourse.llvm.org/t/x86-finalizing-svml-support-in-llvm/70977 a few days ago, but it didn't get any comments so far. |
Not at all. We are all busy people 🙂 Thank you! 🙏 |
also includes update for issue 943 in numba/llvmlite
Can we reactivate SVML in Numba/llvmlite with patched llvm for the time being? I do not expect fast progress on llvm upstream. Thanks |
@isuruf, can you remove your hold here? I don't think it's realistic to get an upstream review for old branches; I'd be fine with trusting Ivan (which is AFAICT how this was done previously as well). |
I didn't ask for that. I asked for getting a review for the main branch. As it stands, the LLVM reviews are always on older branches and there's no chance of getting those merged because they are on old branches. I think it would be good to have them target main so that we can get these patches in some day. |
We can get this PR merged in the mean time, but we are back to square one after the merge. |
That really wasn't clear from the line:
"mailing list" != "phabricator", "review" != "get these patches in", and "these patches" in the context of a PR to 14.x are not self-evidently referring to main (by way of explanation of why I understood something very different; though the interpretation of your request also caused a lot of discussion upthread and you could have clarified that at any point). I mean, it's very clearly in the interest of llvmlite/numba to not have to keep rebasing that patch all the time. Ivan has open, unreviewed PRs (and now an RFC for how to progress with no responses), but I don't see how that relates to this feedstock. Naturally, I would also like to have the patches upstreamed, but as long as that's not happening, we can just take the llvmlite patches. I see no point in making this dependent on upstream review, other than to force the llvmlite team to prioritise upstreaming (needless to say it's not up to us to decide their priorities). Of course, we're also not forced to take their patch, but this was the balance so far. I don't know what the most effective tactic for upstreaming the patches is, but I suspect that some fresh (or at least rebased) PRs would help. |
Co-authored-by: jakirkham <[email protected]>
Hi! This is the friendly conda-forge automerge bot! I considered the following status checks when analyzing this PR:
Thus the PR was passing and merged! Have a great day! |
@h-vetinari I see llvmdev, llvm and libllvm14 were re-build and published on conda-forge channel 4 days ago. Do you have a plan to make a rebuild for llvmlite and publish to conda-forge channel? |
Not personally, but now all the preconditions should be met so that @conda-forge/llvmlite can do it (or someone else raises a PR on that feedstock). |
As the conda-forge build of Though please file an |
I think, we need to explicitly rebuild |
@jakirkham issue for llvmlite created, could you please help to speed-up resolution somehow? |
I'm sorry, but I don't have much bandwidth for this. If you are able to carry it forward, that would be helpful. Can review a PR |
SVMl patch was added to llvmdev by this PR conda-forge/llvmdev-feedstock#192 Idea of this PR to rebuild llvmlite with dependencies published on conda-forge channel (which includes SVML patch)
Addresses #123 for LLVM 14 (not up to main, because numba isn't ready for that yet and won't be soon).
Patch taken from here.