Replies: 1 comment 3 replies
-
There's a Have you tried using this? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
https://ai.plainenglish.io/best-performance-tuning-practices-for-pytorch-3ef06329d5fe section
Zeroing The Gradients Efficiently
proposes an alternative that they claim is more efficient than invokingzero_grad()
. Has this been tried before?Beta Was this translation helpful? Give feedback.
All reactions