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

Fix ad to perform necessary traces of tensor [SMALL] #154

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

simon-pfahler
Copy link

Fixes #152

@lehner
Copy link
Owner

lehner commented Jun 7, 2024

Hi Simon, looks good at first sight. I would like to see a test being added as well to https://github.com/lehner/gpt/blob/master/tests/ad/ad.py that highlights this problem. The new test needs to fail before this pull request and be successful after this pull request. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

accumulate_gradient does not check for necessary traces for tensor objects
2 participants