Skip to content
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

Remove compatibility check from hot path #1686

Merged
merged 1 commit into from
Dec 11, 2018
Merged

Remove compatibility check from hot path #1686

merged 1 commit into from
Dec 11, 2018

Conversation

agostbiro
Copy link
Contributor

@agostbiro agostbiro commented Dec 11, 2018

This commit fixes a performance bottleneck in event_file_loader.RawEventFileLoader by caching the result of a TensorFlow compatibility check.

The event_file_loader_test test succeeds under both tensorflow==1.7 (the latest TensorFlow release that needs the compatibility check) and tf-nightly==1.13.0.dev20181211, but there are several other tests failing under tensorflow==1.7. These tests also fail at the head of master 0d4b71b when using tensorflow==1.7.

Fixes #1676

This commit fixes a performance bottleneck in
`event_file_loader.RawEventFileLoader` by caching the result of a
TensorFlow compatibility check.
Copy link
Contributor

@nfelt nfelt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@nfelt nfelt merged commit c502fcc into tensorflow:master Dec 11, 2018
@agostbiro
Copy link
Contributor Author

Thanks for the quick review!

@agostbiro agostbiro deleted the 1676-file-loader-performance branch December 12, 2018 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RawEventFileLoader performance
2 participants