Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
JacobSzwejbka opened this issue Apr 28, 2025 · 1 comment · May be fixed by #10617
Labels
good first issue Good for newcomers module: exir Issues related to Export IR and the code under exir/

Comments

@JacobSzwejbka
Copy link
Contributor

JacobSzwejbka commented Apr 28, 2025

🐛 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

@jhelsby
Copy link
Contributor

jhelsby commented May 1, 2025

Hi, I'd be interested in taking this issue if it's still available. I have created a draft PR here: #10617

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers module: exir Issues related to Export IR and the code under exir/
Projects
Status: To triage
2 participants