Skip to content

Conversation

@dsmilkov
Copy link
Contributor

@dsmilkov dsmilkov commented Sep 4, 2019

BUG, PERF

This PR fixes a bug introduced in tensorflow/tfjs-core#1798

The values were not cached after an async read, which has performance implications.

The inference of an AutoML object detection model including post-processing changed from 107ms to 80ms. The reason could be an accumulation of repeated reads done by the converter executor when we call model.executeAsync().


This change is Reviewable

Copy link
Contributor

@nsthorat nsthorat left a comment

Choose a reason for hiding this comment

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

Reviewed 3 of 3 files at r1.
Reviewable status: :shipit: complete! 1 of 1 approvals obtained (waiting on @annxingyuan and @nsthorat)

Copy link
Contributor

@annxingyuan annxingyuan left a comment

Choose a reason for hiding this comment

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

Thank you!

@dsmilkov dsmilkov merged commit f39acb2 into master Sep 4, 2019
@dsmilkov dsmilkov deleted the fix-cache branch September 4, 2019 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants