apache / tvm

Open deep learning compiler stack for cpu, gpu and specialized accelerators
https://tvm.apache.org/
Apache License 2.0
11.67k stars 3.45k forks source link

[Frontend][ArgParse] Pass default values to target compiler(#13264) #17014

Closed MNGanesan closed 3 months ago

MNGanesan commented 4 months ago

In BYOC, Marvell Compiler Config node defines the target compiler's command line options, along with default values. When the user has not given any explicit command line options, these default values can be extracted from the configuration and passed to the TVM's Argument Parser. Currently the support for extraction of default values from Config options is not there, this change introduces that support. Also this is done conditionally by interpreting the flag status of target compiler.

MNGanesan commented 3 months ago

@ezyang @yongsun @alexeyr @schell

Please review my PR, it passes Jenkin's run.

Thanks

MNGanesan commented 3 months ago

@Mousius @grant-arm

Could you please review this change ?

MNGanesan commented 3 months ago

17014

schell commented 3 months ago

Sorry @MNGanesan - I'm not a maintainer of TVM.

MNGanesan commented 3 months ago

@lhutton1 @Mousius @Hzfengsy @vinx13

Could you please review this change, This is fix for defect #13264

Thanks