MNGanesan opened a new issue, #13264:
URL: https://github.com/apache/tvm/issues/13264
Under Hybrid Target, I have created target specific config or compiler
options in the backend(codegen), These option are given with default values too.
Example:
TVM_ROOT/src/relay/backend/contrib/my_target/codegen.cc
struct MyCompilerConfigNode : public tvm::AttrsNode<MyCompilerConfigNode> {
String mcpu;
TVM_DECLARE_ATTRS(MyCompilerConfigNode, "ext.attrs.MyCompilerConfigNode") {
TVM_ATTR_FIELD(mcpu)
.describe("CPU type")
.set_default("my_cpu"); **<=========**
}
};
In the TVMC , I try to access those options under the partition_for_target
function
TVM_ROOT/relay/op/contrib/target.py
However, the default values given to these options are not visible.
I doubt TVMC is not handling or honoring the default values for options.
I have no clue if it works for other hybrid target like cmsis-nn or vitis-ai
? Could some put light on this ?
### Expected behavior
What you were expecting
### Actual behavior
Am expecting the default values for any command line options described in
the codegen.cc
### Environment
Any environment details, such as: Operating System, TVM version, etc
### Steps to reproduce
Preferably a minimal script to cause the issue to occur.
### Triage
Please refer to the list of label tags
[here](https://github.com/apache/tvm/wiki/Issue-Triage-Labels) to find the
relevant tags and add them below in a bullet format (example below).
* needs-triage
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]