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

Missing --cpp-gen for cmd.py #767

Open
thiagocrepaldi opened this issue Jul 19, 2024 · 2 comments
Open

Missing --cpp-gen for cmd.py #767

thiagocrepaldi opened this issue Jul 19, 2024 · 2 comments

Comments

@thiagocrepaldi
Copy link

The new_operator.md documentation has a section "2. Generate the C++ template code of the Custom operator from the ONNX Model (optional)" which states that a template can be generated with python -m onnxruntime-extensions.cmd --cpp-gen <model_path> <repository_dir>

The problem is that onnxruntime_extensions/cmd.py doesn't have --cpp-gen option

Was it deleted intentionally? Is there an easy way to have a template?

@wenbingl
Copy link
Member

@thiagocrepaldi , this part of doc is kind of out-of-date. Given the last the custom op already supported a C++ function as an op kernel, The auto-gen C++ template code seems unnecessary now.

@thiagocrepaldi
Copy link
Author

thiagocrepaldi commented Aug 15, 2024

@wenbingl thanks, is there anyone who could help update the documentation with the correct steps? Maybe @natke? Hardware partners like AMD could leverage this information

By the way, i remember there was a slack channel for ORT partners/vendors. Would you know what is the slack workspace/channel for me to join? Thanks

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

2 participants