forked from apache/tvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TIR] Improved parameter name in DLTensor unpacking error messages (a…
…pache#14776) Previously, the parameter name depending only on the TIR variable name. In large IRModules, such as those used when executing end-to-end models, these parameter names may be resued across functions, and so the error message doesn't identify which `PrimFunc` should be investigated. This commit updates the parameter name to include the function name (e.g. `my_function.arg.my_param`) to help debugging in these cases.
- Loading branch information
1 parent
440aae2
commit afa1f63
Showing
2 changed files
with
16 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters