Skip to content

Conversation

@soulitzer
Copy link
Contributor

@soulitzer soulitzer commented Dec 11, 2025

[ghstack-poisoned]
@soulitzer soulitzer requested a review from albanD as a code owner December 11, 2025 22:56
@pytorch-bot
Copy link

pytorch-bot bot commented Dec 11, 2025

🔗 Helpful Links

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

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

❌ 5 New Failures

As of commit 1fd0321 with merge base 90f0139 (image):

NEW FAILURES - The following jobs have failed:

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

@soulitzer soulitzer changed the title Expose API to create ownership token for autograd.Function grad_fn [do not review] Expose API to create ownership token for autograd.Function grad_fn Dec 11, 2025
@github-actions
Copy link
Contributor

This PR needs a release notes: label

If your changes are user facing and intended to be a part of release notes, please use a label starting with release notes:.

If not, please add the topic: not user facing label.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "topic: not user facing"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

return GradientEdge(grad_fn, tensor.output_nr, ownership_token=token)


def make_gradient_edge(node: Node, output_nr: Optional[int] = None) -> GradientEdge:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

TODO: test this instead?

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.

2 participants