Skip to content

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