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

ONNX custom OP uses deprecated functions #275

Open
nrakltx opened this issue Oct 11, 2022 · 1 comment
Open

ONNX custom OP uses deprecated functions #275

nrakltx opened this issue Oct 11, 2022 · 1 comment
Labels

Comments

@nrakltx
Copy link

nrakltx commented Oct 11, 2022

Ask a Question

Question

I am attempting to implement a custom op using CUDA kernels and started looking into existing guides and how-to's available. The simplest and easiest I could find exists on this repo, here.
Notwithstanding this is the main E2E example for exporting custom ops in ORT, it seems to be using deprecated functions; Inside this file, functions such as GetTensorData are deprecated as per this, and such are some other functions from this tutorial.

Further information

  • Relevant Area (e.g. model usage, best practices, shape_inference, version_converter, training, test): model inference, custom ops.

  • Is this issue related to a specific model?
    Model name (e.g. mnist): -
    Model opset (e.g. 7): -
    Please upload the model and provide the link if possible.

Notes

Any additional information, code snippets.

@yuslepukhin
Copy link

Would you like to contribute and fix those? It would also be a good learning experience, as well as a good testing ground before the next release. The deprecation of the functions has not been released yet and you encounter these problems only if you build from source code.

Cc: @jcwchen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants