Skip to content

[Runtime][AOTExecutor] set_input does not show error if input name does not exist in the model #13013

@mehrdadh

Description

@mehrdadh

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.

cc @areusch @alanmacd

Metadata

Metadata

Assignees

No one assigned

    Labels

    executor:aotruntime 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 ittype: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions