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

Poor Performance on nq model (TF=3434ms, ONNX=6226ms) #5538

Closed
TomWildenhain-Microsoft opened this issue Oct 19, 2020 · 2 comments
Closed

Poor Performance on nq model (TF=3434ms, ONNX=6226ms) #5538

TomWildenhain-Microsoft opened this issue Oct 19, 2020 · 2 comments
Labels
stale issues that have not been addressed in a while; categorized by a bot

Comments

@TomWildenhain-Microsoft
Copy link
Contributor

TomWildenhain-Microsoft commented Oct 19, 2020

Describe the bug
On the nq model here https://tfhub.dev/nascarr/nq/1 ONNX is significantly slower than TF. The converted model (converted with tf2onnx) takes 6226 ms per inference while TF takes 3434 ms. I'm running on CPU.

Urgency
Medium. Required for OKR target.

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows
  • ONNX Runtime installed from (source or binary): Binary (pypi)
  • ONNX Runtime version: 1.5.2
  • Python version: 3.8.6
  • Visual Studio version (if applicable): 2019

To Reproduce

Expected behavior
ONNX is faster than TF

@xadupre
Copy link
Member

xadupre commented Oct 22, 2020

Profiling with master branch:

image

@stale
Copy link

stale bot commented Dec 24, 2020

This issue has been automatically marked as stale due to inactivity and will be closed in 7 days if no further activity occurs. If further support is needed, please provide an update and/or more details.

@stale stale bot added the stale issues that have not been addressed in a while; categorized by a bot label Dec 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale issues that have not been addressed in a while; categorized by a bot
Projects
None yet
Development

No branches or pull requests

4 participants