-
Notifications
You must be signed in to change notification settings - Fork 273
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
Build configuration is missing definitions #12
Comments
Hi Sergei, What command did you run? If you would like to generate whl file from source codes, you could simply run |
I wanted to run tests with Bazel. Would you recommend running them via e.g. pytest instead? |
It turns out that our BUILD files need to be fixed quite a bit to get them to work. We'll work on fixing the BUILD files and pushing a new version with the fixed BUILD files soon. In the meantime, you can try running the tests directly with Python. Sorry for the inconvenience, and thanks for your patience! |
Okay, after some discussion, we'll be removing the BUILD files for the Python targets for now, since they don't really add much. Could you try running the tests with Python directly, and let us know if you run into any issues? |
I have tried running the tests locally:
most failures involve the repr of dilll internals and are tricky to diagnose. Full output of pytest: failures.txt |
My guess is that they have something to do with Beam. Which version of Beam do you have installed? |
2.6.0 which matches the I have the same number of failures with 2.5.0 and 2.4.0, and the error messages look similar. Could it be the dill version then? |
The failures are caused by pytest. I think it instruments unittest classes (or possibly instances) in a way which makes them non-pickleable. Therefore, the error: "cannot pickle generators". Interestingly, the error goes away if pytest is executed with the Would you accept a PR adding Travis CI support? |
I see, thanks for looking into this! It would be nice to have CI support! Let me check with some folks to see whether there's a preferred solution or whether Travis CI would be fine. |
Okay, so I checked with some other folks, and it looks like the plan is to set up a CI solution similar to what we have with the TensorFlow repository. Thanks for offering to add Travis CI support though! |
Thanks for checking, closing the issue. |
System information
provided in TensorFlow Model Analysis): N/A
Describe the problem
The HEAD version of TFMA seems to be missing some definitions for third-party dependencies. The easy-to-fix one is ProtoBuf:
which can be fixed by changing the load call slightly
The other one is a bit more difficult since the
BUILD
file forthird_party/py/typing
is truly missing from the repoFinally, some of the TFMA
BUILD
files referencethird_party/py/numpy
which is missing as well.The text was updated successfully, but these errors were encountered: