Skip to content

[exir] MemoryPlanning Verifier assumes that if a model has a user input it has at least 1 tensor input. #10522

@JacobSzwejbka

Description

@JacobSzwejbka

🐛 Describe the bug

Prim inputs are uncommon because of how export generally traces them away. Dynamic prim int inputs are coming soon though and our memory planning verifier currently blows up if all the user inputs are prims. We need to improve the logic of the _do_user_inputs_exist to probably just return false if all the inputs are prims.

Versions

.

cc @angelayi

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomersmodule: exirIssues related to Export IR and the code under exir/

    Type

    Projects

    Status

    To triage

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions