-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Fixup third_party references #6
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 ( |
@conda-forge-admin, please rerender |
With these changes, I can successfully compile the following test: import torch
def fn(x):
a = torch.cos(x).cuda()
return a+1
input_tensor = torch.randn(10000).to(device="cuda:0")
new_fn = torch.compile(fn, backend="inductor")
a = new_fn(input_tensor)
print(a) While it fails without the changes. My big question mark is which package we need to add to the run dependencies to get the required See conda-forge/pytorch-cpu-feedstock#166 |
This comment was marked as outdated.
This comment was marked as outdated.
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.
This is great! :)
A nit about how the patches are checked in, for the run-requirements I'm hoping we can get some insights from @jakirkham / @leofang / @adibbley
It would be great if you could have another look @h-vetinari @hmaarrfk. Also @jakirkham / @leofang / @adibbley it would be amazing if you could have a look to let us know which cuda packages are needed for ptxas. |
This was answered in the CUDA build order thread. It should be in the CUDA compiler package (though it might still get sliced up a bit differently) |
Indeed. xref: conda-forge/staged-recipes#21382 (comment)
Think I've missed the question here. Please let us know what you are looking for feedback on |
Hi @h-vetinari - now that we pushed I think the only thing left here is that It would be great if we could merge here, and then open an issue that keeps track of the cuda migrations. |
Can you please confirm you're the author on all the patches you've added with your attribution, or point to the exact upstream PRs commits where they're taken from? |
OK, I'm fine to leave the cudatoolkit as a run-dep until we get the new infrastructure. I've also looked more closely and all patches seem to be coming from you (perhaps I misremembered from another PR where some were taken from unreleased upstream commits). Basically, this LGTM. Any last comments @hmaarrfk? |
Confirmed :) |
* Search directly in CONDA_PREFIX/lib for the libdevice library * use cuda toolkit for now
…nda-forge-pinning 2023.05.05.18.28.01
43baca3
to
ec11637
Compare
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.
LGTM, thanks a lot @Tobias-Fischer (I cleaned up the churn in the commit history a bit to avoid having to squash everything, hope that's OK; if not feel free to force-push your own cleaned up history)
@hmaarrfk, I'm planning to merge this in ~24h, unless of course you have other comments or need some more time to review here - please let us know!
Yes that's great, thanks a lot! |
Kind ping @h-vetinari @hmaarrfk :) |
Thank you all! |
I knew I had wanted to merge something, but had forgotten which PR 😂 |
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)