When I set
opt_level to a very large value (such as 10000) in statement
tvm.transform.PassContext(), TVM can run well and generated a compiled model without any warning messages. I think it should be a vulnerability.
Hackers can attack TVM by tampering with the unused internal code of
opt_level. Due to the lack of warning information, it is difficult for users to notice that they have been attacked.
I think a warning message should be given to remind users when using invalid opt_level.