-
Notifications
You must be signed in to change notification settings - Fork 98
jit: support nn.Moudle.named_parameters/buffers #672
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
jit: support nn.Moudle.named_parameters/buffers #672
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kshitij12345 Absolutely fantastic to work on this!
I think we can solve the duplication by first iterating in the lookaside (directly in Python without proxying / interpreter), keeping the names we get there, and then in the _impl filter...
Just wanted to comment that I tried this with NeVA (which is where #601 came from) and the run gets by where we were stopped before! 🎉 |
… named-params-and-buffers-jit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @kshitij12345
Fixes: #601
As elaborated in the comment, we add lookaside for
Module.named_{parameters/buffers}
(for now).