-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Update meta.yaml to rebuild with patch for SVML #73
base: main
Are you sure you want to change the base?
Conversation
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)
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 ( |
This issue describes our needs #72 |
@conda-forge-admin, please rerender |
…nda-forge-pinning 2023.08.08.09.58.26
@jakirkham could you please review? |
@jakirkham, @marcelotrevisani, @mbargull, @souravsingh, @xhochy please review and approve if you do not have any comments. |
I don't understand why this needs a rebuild. Are the patches breaking ABI? |
@xhochy patches technically doesn't break ABI but attempt to genrate SVML code with unpatched LLVM will lead to wrong codegen (although I'm not aware of any other projects besides UPD: Well, disregard previous comment, they are probably breaking ABI as well. |
Appreciate folks taking the time to move this forward Though as noted before ( conda-forge/llvmdev-feedstock#192 (comment) ) my time is somewhat limited at present (so 1 day or less turnarounds are unrealistic) The concern raised in this comment still stands: #72 (comment) Namely we could wind up with an LLVM installed that doesn't have SVML support while Would suggest thinking about how to mitigate that a bit more |
@jakirkham generally speaking your concern can be valid in some cases but this PR is about different - we are trying to resolve situation which is completely blocking SVML usage for now. By merging this PR users can be unblocked (like in our situation). |
Sorry, but would disagree that it is a separate concern Before this PR, users don't have a risk of getting an Would instead posit that introducing a bug is worse behavior from a user perspective. If we desire to have the performance improvement (which is understandable), it should be done in a way that avoids the bug There are probably several ways that could be done, but some might be constraining the |
The proper way to fix this will be to link llvm statically. |
The proper way would be to upstream the changes ( #72 (comment) ) |
Even if we upstream this (we are working on it, BTW), it will change nothing for this particular version as no one going to update old llvm release. And linking statically helps to avoid a lot more potential issues than this specific SVML one (see my comment about llvm conflict with system runtimes). |
Which system runtimes? If we need to link LLVM here statically, we should have to do this everywhere in conda-forge. |
Every single gpu runtime/shader compiler is using llvm under the hood nowadays. The only reason things are still working because they are usually linked statically. usually And yes, I would prefer everyone to link llvm statically unless you have a very strong justifications to do otherwise (and distribution size is not one of them). |
I think distribution size is a valid argument. Given the amount of LLVM usages from mainline releases, we would otherwise bloat our environments. |
Users have been working with Numba on CUDA for some time without issues and this uses the dynamic linking solution we currently have Not following the argument for static linking As already noted upthread there are other options for this rebuild other than static linking (like constraining the |
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)
Checklist
0
(if the version changed)conda-smithy
(Use the phrase@conda-forge-admin, please rerender
in a comment in this PR for automated rerendering)