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

Make sorted_nodes pub function #2780

Merged
merged 1 commit into from
Feb 22, 2025

Conversation

viirya
Copy link
Contributor

@viirya viirya commented Feb 21, 2025

While debugging backpropagation path of a Tensor, I would need to look at the nodes of it. But sorted_nodes is not public function for now. This patch makes it a public function for easy debugging.

@LaurentMazare LaurentMazare merged commit 26c1692 into huggingface:main Feb 22, 2025
9 of 10 checks passed
@viirya
Copy link
Contributor Author

viirya commented Feb 22, 2025

Thank you @LaurentMazare

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