-
Notifications
You must be signed in to change notification settings - Fork 611
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
[WIP] Build against tf2.14 bazel strategy #2855
[WIP] Build against tf2.14 bazel strategy #2855
Conversation
We have the same issue when I've introduced this in the release PR. It seems that pytest is not installed in the same python env where we are executing tests with bazel. |
Fixes #2849 |
@angerson we (and other SIGs / downstream consumers) have had issues with the the hermetic python bazel rule. Can you or someone in SIG build take a look at this failing test when time allows:
We tried a few things on the last release... but we want to get ahead of this for upcoming releases when the new workspace strategy may be required (I see that we're still publishing multiple py docker images for future tf releases though). |
@seanpmorgan Why do you pull tensorflow via http_archive and also via pip? You started doing it not so long ago - 1c3a2b2 |
https://github.com/tensorflow/addons/blob/master/WORKSPACE#L18-L32 Because we load the 4 bazel workspace files that are provided since we compile custom CPU and CUDA ops. IIRC when on TF2.9 there was rev in CUDA version and our previous local toolchain broke. We started loading the workspace files from tensorflow to build the same way. |
There are 3 ways to fix it:
|
@georgiyekkert Can you send a PR on this repo directly or over this PR's source branch? |
Description