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

Add option for whether or not to enable gradients on the root module inputs #11

Open
spfrommer opened this issue Nov 15, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@spfrommer
Copy link
Owner

Right now, in order to ensure that all submodules have input gradients / output gradients, a dummy tensor is added to the inputs of the watch'd module. This adds new computational overhead since now gradients are computed to the input. This should be optional.

@spfrommer spfrommer added the enhancement New feature or request label Nov 15, 2023
@spfrommer spfrommer self-assigned this Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant