Skip to content

Improve clarity for flattened graph inputs #9132

@GregoryComer

Description

@GregoryComer

🚀 The feature, motivation and pitch

When passing complex model inputs, such as (nested) dictionaries, it can be a little unclear on the order of flattened inputs. This can be resolved by looking at the exported IR or program dump, but these aren't easy to parse without detailed knowledge of export/ET internals.

If such a thing doesn't already exist, it would be nice to provide a way for users to easily see what the expected input format is. Maybe printing the exported function signature? This could maybe be incorporated into the higher-level export API. Or as a verbose logging option when lowering? Implementation needs thinking through. Ideally, it would be easy for a user to understand what order to pass inputs at runtime without needing to dig into verbose, low-level info.

Alternatives

No response

Additional context

No response

RFC (Optional)

No response

cc @JacobSzwejbka @angelayi @mergennachin @byjlw

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: exirIssues related to Export IR and the code under exir/module: user experienceIssues related to reducing friction for userstriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    No type

    Projects

    Status

    To triage

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions