Lunderberg opened a new pull request, #16802: URL: https://github.com/apache/tvm/pull/16802
The `LiftTransformParams` pass requires Relax functions that have the `attr::kNumInput` attribute (`"num_input"`). By default, it collects and applies only to functions with this attribute. If the user specifies functions that don't match this criteria, the `LiftTransformParams` will raise an error. This commit improves the error messages that are raised when the specified function is missing, is not an IRModule, or is missing the `kNumInput` attribute. Previously the error messages were raised implicitly by `IRModule::Lookup`, `Downcast<Function>`, or `Optional::value`, respectively. -- 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]
