Skip to content
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

Remove requires_grad specification from meta functions #1769

Open
wants to merge 21 commits into
base: main
Choose a base branch
from

Conversation

IvanYashchuk
Copy link
Collaborator

Meta functions in Thunder should be straightforward and standalone for developers to implement them easily.

Some meta functions try to specify the requires_grad attribute for output TensorProxies, but this attribute is never used in Thunder, and the correct propagation of it is not tested.

The changes are needed to make the diff in #1599 cleaner. That PR tries to remove the requires_grad attribute from TensorProxies.

Let's discuss bringing back (and testing) of this attribute propagation in #1768.

@IvanYashchuk IvanYashchuk enabled auto-merge (squash) March 3, 2025 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants