-
Notifications
You must be signed in to change notification settings - Fork 10
add grace calculator, clarify gpu/cpu fixes #408 #426
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
Conversation
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.
Looks good so far.
Which bits are the gpu/cpu fixes?
Also to do:
|
exactly... I did not see an obvious way to select use of cpu/gpu via python |
I suppose similar to dpa3? |
i suspect is tensorflow specific https://www.tensorflow.org/guide/gpu |
A shorter way to trigger the test failures is (with grace and mace installed):
|
The exact causes of this remain a bit unclear, given that it's dependent on the order/combination of tests, but it's some form of known pytest error, with tensorflow (which calls Most of the Python solutions seemed to involve clearing/disabling logging at various points, but we already do that to some extent, and there didn't seem to be a solution that resolves this for us. What I've gone with for now is a wrapper blocking sys.stderr.close = lambda *args: None
sys.stdout.close = lambda *args: None If we're not happy with that, the main other alternatives are:
|
Looks like there are a few compatibility issues relating to one of tensorflow's dependencies and Windows: tensorflow/io#2087. Should be fixable, but if it's too painful, we could also not explicitly support it. |
given tensorflow is not most used in the wild I would not waste the time... just make it clear we did not test it for windows and we do not plan to do so since we like our sanity |
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.
Needs another approval but I'm happy, assuming the tests all pass.
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.
All seems to be in order
No description provided.