Skip to content

Conversation

thomasjpfan
Copy link
Contributor

Description

Fixes backward definition in triton tutorial. This uses grad as the new parameter name showed in the register_autograd docs: https://github.com/pytorch/pytorch/blob/1d7397a2d04a4d636559f41511a20f7dadbe5777/torch/library.py#L1088-L1090

Uses

Checklist

  • The issue that is being fixed is referred in the description (see above "Fixes #ISSUE_NUMBER")
  • Only one issue is addressed in this pull request
  • Labels from the issue that this PR is fixing are added to this pull request
  • No unnecessary issues are included into this pull request.

Copy link

pytorch-bot bot commented Mar 2, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/tutorials/3282

Note: Links to docs will display an error until the docs builds have been completed.

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@svekars svekars merged commit dfeb1ae into pytorch:main Mar 7, 2025
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants