-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Labels
executor:aotruntime components of AOT flow. src/runtime/aot_executor, src/runtime/crt/aot_executorruntime components of AOT flow. src/runtime/aot_executor, src/runtime/crt/aot_executorneeds-triagePRs or issues that need to be investigated by maintainers to find the right assignees to address itPRs or issues that need to be investigated by maintainers to find the right assignees to address ittype: bug
Description
If we pass input dictionary with incorrect input name, aot executor would execute set_input function without actually setting the correct input or showing error that input name doesn't exist in the model. This will result in silently outputting the incorrect output from the model. I think it should show an error when the input name doesn't exist.
I found this error when I working on a model which had input name of input:0 which is not acceptable in Relay. However, when I tested it I realized it's not just this name, if you pass any name for the input the AOTExecutor would accept it.
Metadata
Metadata
Assignees
Labels
executor:aotruntime components of AOT flow. src/runtime/aot_executor, src/runtime/crt/aot_executorruntime components of AOT flow. src/runtime/aot_executor, src/runtime/crt/aot_executorneeds-triagePRs or issues that need to be investigated by maintainers to find the right assignees to address itPRs or issues that need to be investigated by maintainers to find the right assignees to address ittype: bug