Lunderberg commented on issue #17230: URL: https://github.com/apache/tvm/issues/17230#issuecomment-2263246222
Looking closer, the change that I was thinking of already occurs ([here](https://github.com/apache/tvm/blob/main/include/tvm/ir/module.h#L454)), and `IRModule` is non-nullable. So, it already indicates (1) that the function signature is `(0: transform.Pass, 1: IRModule)`, (2) that there is a problem with `converting argument 1`, and (3) that the problem is that it was `Expect a not null value of IRModule`. So, the error message looks like it already gives all of the information it could. Maybe it could be improved by returning a `TypeError` instead of a `TVMError`, but that would be about the extent of it. -- 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: commits-unsubscr...@tvm.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org