-
Notifications
You must be signed in to change notification settings - Fork 632
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Test that TensorFlow is not imported on startup #904
Conversation
Since we do lazy loading now in |
The documentation is not available anymore as the PR was closed or merged. |
Yup I noticed that :) Looking forward to have a new release with lazy loading ! This test is just to make sure that in the future we don't do it without noticing, as it happened in #679 some time ago |
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 for the test!
I ended up adding This is because running the keras tests at the same time would import TF, so the test would always fail. Let me know if it's good for you |
Yes, this works for me! |
TF takes some time to be imported, and also uses some GPU memory.
I just added a test to make sure that in the future it's never imported by default when
is called