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

Optimize inference speed ⚡️ #8

Open
maxbbraun opened this issue Dec 6, 2023 · 0 comments
Open

Optimize inference speed ⚡️ #8

maxbbraun opened this issue Dec 6, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@maxbbraun
Copy link
Owner

Experimenting with compiler options in branch fast-opts.

Switching from -Os to -O3 seems to have significant impact on tokens per second. (-Ofast doesn't noticeably add on top.)

->>> Averaged 2.60 tokens/s
+>>> Averaged 3.79 tokens/s

Unfortunately, something about this seems to break the camera input or TPU inference and I haven't debugged that yet.

@maxbbraun maxbbraun added enhancement New feature or request good first issue Good for newcomers labels Dec 6, 2023
@maxbbraun maxbbraun pinned this issue Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant