-
Notifications
You must be signed in to change notification settings - Fork 614
Faster tests when running locally. #1030
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.
Overall its a nice change for speedup. I would like to open this up to the Addons community to see if there are any thoughts on removing the makefile. I agree it's a bit unnecessary after the changes that have been made in the past few weeks.
I don't know why I removed the makefile. Let me bring it back to life. |
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.
So thinking about this a little more, could you keep run_docker.sh
file that way we can merge this PR and file a new issue to switch the script for GPU testing.
After that's complete we'll be able to remove it.
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 again!
We make here efficient use of the docker cache to avoid having to download every time tensorflow. The tests also run in an isolated environement, which avoids polluting the project directory.
The command that google's CI runs for gpu tests is
/bin/bash tools/run_docker.sh -s linux -d gpu -c 'make gpu-unit-test'
.Can we change that to
/bin/bash tools/run_google_cloud_tests.sh
? So that it's possible to modify it later on with pull requests?