-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
package tensorflow_addons #16888
base: main
Are you sure you want to change the base?
package tensorflow_addons #16888
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/tensorflow @jaimergp
Those variables seem to be specific to tf-addons (cannot find them elsewhere on GH), so will most likely need adapting. Any tips (much less joint maintainership) are appreciated. It seems that the
PS. For OSX, we're missing more recent tf-builds (ever since the build-string got refactored) - or even better: add |
CUDNN_INSTALL_PATH is set to $PREFIX. I don't know what the build system will do with CUDA_TOOLKIT_PATH, but in principle, that path is correct on our Docker images and, if anything, it can be set to |
Thanks for the quick response!
Not sure if that's a comment that what I'm doing is questionable or that it should be like that (I guessed based on the expected header-path)...? |
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.
What about also using the bazel-toolchain
here (will probably be needed for osx, at least for osx-arm64`)? The latest changes in tensorflow in the bazel-toolchain should also fix some of the CUDA issues.
Absolutely, I just hadn't had time to invest yet how to make use of that package. Happy to try. |
Ah, I did not expect that |
So tf-addons seems to process the cuda capabilities differently than tf proper. Also, I don't know what they're doing behind the scenes ( Further point that jumped out from the log - since we're not dealing with manylinux etc., we probably don't need |
4f8c9ea
to
9477c9f
Compare
Co-authored-by: Uwe L. Korn <[email protected]>
also add libtensorflow as host dep
61c7782
to
382a68c
Compare
recipes/tensorflow-addons/meta.yaml
Outdated
# due to lack of ABI, we need the same version at runtime, see | ||
# https://github.com/tensorflow/addons#c-custom-op-compatibility-matrix | ||
- tensorflow {{ tf_version_maj_min }}.* | ||
- libtensorflow_cc {{ tf_version_maj_min }}.* |
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.
TBH, I don't understand this - it's already there as a host req, so why does it also need to be in run? - but without this we get:
ERROR (tensorflow-addons,lib/[something].so): Needed DSO lib/libtensorflow_framework.so.2 found in ['libtensorflow_cc']
ERROR (tensorflow-addons,lib/[something].so): .. but ['libtensorflow_cc'] not in reqs/run, (i.e. it is overlinking) (likely) or a missing dependency (less likely)
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.
libtensorflow_cc
doesn't have a run_exports
, we should add one there.
This reverts commit 21874b8.
OSX builds are blocked on conda-forge/tensorflow-feedstock#144... |
OK, trying to add a reference to
This SO answer has a number of steps to work around this (not sure if outdated), but before I try, is this something that |
ccc1669
to
fa03456
Compare
@xhochy, do you know a better way of handing an external dependency to bazel than the above? |
Does it work to do something like this in
Are you able to get those environment variables set somehow, and then use this mechanism to expose them to bazel? In my deployment, I was using direnv to get them into the environment. |
Hi friend! We really, really, really appreciate that you have taken the time to make a PR on In an effort to maintain this repository and increase the signal-to-noise for open PRs, the maintainers of If you'd like to keep it open, please comment/push and we will be happy to oblige! Note that very old PRs will likely need to be rebased on Cheers and thank you for contributing to this community effort! |
not stale |
Sorry I overlooked your tip! Would you mind raising a PR against https://github.com/h-vetinari/staged-recipes/tree/tf-addons? |
@conda-forge/help-python For some reason the bot here has not removed the stale label - would someone be so kind to do that please? |
Interesting, now it worked all of a sudden. Sorry for the noise (and this is not yet a request for review, unless someone wants to help me tell bazel where to look for the tensorflow shared lib). |
@h-vetinari does the above maybe do the trick? |
Co-authored-by: jaimergp <[email protected]>
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 ( |
Hi friend! We really, really, really appreciate that you have taken the time to make a PR on In an effort to maintain this repository and increase the signal-to-noise for open PRs, the maintainers of If you'd like to keep it open, please comment/push and we will be happy to oblige! Note that very old PRs will likely need to be rebased on Cheers and thank you for contributing to this community effort! |
Hi again! About a month ago, we commented on this PR saying it would be closed in another month if it was still inactive. It has been a month and so now it is being closed. Thank you so much for making it in the first place and contributing to the community project that is Cheers and have a great day! |
See #16646, conda-forge/tensorflow-feedstock#133, tensorflow/addons#201
Closes #16646
Closes conda-forge/tensorflow-feedstock#133