microsoft / onnxruntime

ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
https://onnxruntime.ai
MIT License
14.66k stars 2.93k forks source link

[Feature Request] Classify Contributed Ops #13084

Open GeorgeS2019 opened 2 years ago

GeorgeS2019 commented 2 years ago

Describe the feature request

Currently there is no categorization of contributed Ops into e.g. NLP, Vision, and Audio

All are under ONE same namespace: com.microsoft

The suggestion is to split these Ops into the following categories

e.g.

For those Ops that are non-specific to any one of the above categories, they stay with

Describe scenario use case

To democratize the use of these ops, especially for new users, for users interested on e.g. NLP, they could look into the following namespeace

nlp

com.microsoft.nlp

vision

com.microsoft.vision

GeorgeS2019 commented 2 years ago

This proposed categorization will facilitate discussion and issue project management of existing feature requests/discussions:

tianleiwu commented 2 years ago

Our operator need to be backward compatible so it is not feasible to change domain without breaking existing application.

I think adding some tags in operator documentation might serve the purpose.

GeorgeS2019 commented 2 years ago
flowchart TD
    image-->|com.microsoft.vision\nops| onnx\nmodel-->|com.microsoft.vision\nops| output\nimage
flowchart TD
    text-->|com.microsoft.nlp\nops| onnx\nmodel-->|com.microsoft.nlp\nops| output\ntext
GeorgeS2019 commented 2 years ago

com.microsoft.nlp

use case 1 : [Performance] how I can stop or truncate the generation in onnx gpt-2 model with the beam search option