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

Add support for multi threaded interpreter #512

Merged
merged 2 commits into from Sep 21, 2020
Merged

Conversation

lgeiger
Copy link
Member

@lgeiger lgeiger commented Sep 21, 2020

What do these changes do?

This PR adds support for using a multi threaded TFLite interpreter.

How Has This Been Tested?

CI and manually benchmarked it with toy data

Benchmark Results

I tested this PR locally on my quadcore x86 machine with a quicknetlarge style network and got the following results when predicting 40 examples:

num_threads time for 40 samples
1 30 s
2 15 s
4 8 s
8 8 s

@lgeiger lgeiger added the feature New feature or request label Sep 21, 2020
@lgeiger lgeiger requested a review from a team September 21, 2020 11:22
Copy link
Contributor

@AdamHillier AdamHillier left a comment

Choose a reason for hiding this comment

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

Nice 👍

@lgeiger lgeiger merged commit d07a1ee into master Sep 21, 2020
@lgeiger lgeiger deleted the multi-thread-interpreter branch September 21, 2020 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants