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

Use the prologue in check_vjp #1427

Merged
merged 2 commits into from
Nov 13, 2024
Merged

Use the prologue in check_vjp #1427

merged 2 commits into from
Nov 13, 2024

Conversation

beverlylytle
Copy link
Collaborator

@beverlylytle beverlylytle commented Nov 12, 2024

In adding support for the elu op (#1417), it was discovered that 'alpha' parameters are not being included in the calculations of jacobian vector products as the prologue is being skipped in this test. Here the prologue is added and the celu op, which also suffers from this inaccuracy, is adapted.

@beverlylytle beverlylytle mentioned this pull request Nov 12, 2024
4 tasks
Copy link
Collaborator

@t-vi t-vi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@t-vi t-vi merged commit 6ed9697 into main Nov 13, 2024
41 checks passed
@t-vi t-vi deleted the fix_test_grad branch November 13, 2024 09:48
@t-vi
Copy link
Collaborator

t-vi commented Nov 13, 2024

@beverlylytle @IvanYashchuk Merging this added 10 minutes (27->37) to the GPU CI runtime. I wonder if we should use it only for things with keyword args.

@IvanYashchuk
Copy link
Collaborator

Is there a thunder.jit caching option that considers tensor inputs static and keyword arguments dynamic if they are present?

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.

3 participants