[scan] Autograd#135631
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/135631
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit fc2f4c0 with merge base 386884e ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
ydwu4
left a comment
There was a problem hiding this comment.
Overall we're on the right track! Add a few comments. The additonal_inputs would need some special handling and some more testing.
| g_c_T = flat_grads[:num_leaves_init] | ||
| g_ys = flat_grads[num_leaves_init:] | ||
|
|
||
| if reverse: |
There was a problem hiding this comment.
Mind adding a comment for this? To explain how we handle reverse?
Added checks for the case if not all variables in Autograd require gradients. Not yet handled
|
Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as |
|
@pytorchbot label "no-stale" |
|
❌ 🤖 pytorchbot command failed: Try |
|
This PR will be combined with bohnstingl#4 and pursued further in #146285 |
This PR introduces the Autograd feature for scan with partial gradient support. It is a combination of the already opened PRs: #135631 and bohnstingl#4 Pull Request resolved: #146285 Approved by: https://github.com/ydwu4 Co-authored-by: Yidi Wu <yidi@meta.com>
This PR introduces the Autograd feature for scan with partial gradient support. It is a combination of the already opened PRs: pytorch#135631 and bohnstingl#4 Pull Request resolved: pytorch#146285 Approved by: https://github.com/ydwu4 Co-authored-by: Yidi Wu <yidi@meta.com>
This PR introduces the Autograd feature for scan with partial gradient support. It is a combination of the already opened PRs: pytorch#135631 and bohnstingl#4 Pull Request resolved: pytorch#146285 Approved by: https://github.com/ydwu4 Co-authored-by: Yidi Wu <yidi@meta.com>
This is the new PR to realize autograd for scan. This is a derivative of bohnstingl#2
@ydwu4
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang @aakhundov @rec