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

[ONNXIFI] Top level task for complete ONNXIFI support #2069

Closed
rdzhabarov opened this issue Nov 21, 2018 · 5 comments
Closed

[ONNXIFI] Top level task for complete ONNXIFI support #2069

rdzhabarov opened this issue Nov 21, 2018 · 5 comments

Comments

@rdzhabarov
Copy link
Contributor

Introduction

There are two ways to execute neural nets through the Glow compiler:

  • Use Glow as a stand alone compiler and load Caffe2/ONNX models, see, ImageClassifier for example
  • Make Glow embedded into Pytorch/Caffe2 via ONNXIFI interface

The purpose of this issue is to cover completed work for ONNXIFI support, but more importantly outline future plans.

Current state

  • At this point we've made a lot of progress and can execute CV models, see, Resnet50 support.
  • More sophisticated models which involves various operators can be executed as well, see, list of related closed issues here.
  • Support of concurrent execution was added allowing to throttle incoming Pytorch/Caffe2 concurrency to concurrency level supported by a specific Glow backend.

Future work

  • Stability and error handling is one of the most important aspects that needs to be in place
  • Execution of quantized int8 and fp16 models through the ONNXIFI interface
  • Improved debugging experience, per operator logging/statistics
  • More to come :)
@yinghai
Copy link
Contributor

yinghai commented Nov 22, 2018

More issue to consider: #2071

@jackm321 jackm321 changed the title [ONNXIFI Glow] Top level task for complete ONNXIFI support [ONNXIFI] Top level task for complete ONNXIFI support Dec 17, 2018
@nickgg
Copy link
Contributor

nickgg commented Apr 29, 2019

@jackm321 @rdzhabarov feel free to reopen if this is useful.

@nickgg nickgg closed this as completed Apr 29, 2019
@jgong5
Copy link

jgong5 commented May 17, 2019

A question: is this the (only) way how PyTorch would be integrated with GLOW? If so, would the support of PyTorch training model depend on ONNX training support?

@yinghai
Copy link
Contributor

yinghai commented May 17, 2019

@jgong5 We are working on integration of PyTorch/Glow. Stay tuned.

@ghost
Copy link

ghost commented Jan 3, 2020

It would be helpful to have an end-to-end, standalone ONNXIFI example.

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

No branches or pull requests

4 participants