viable/strict/1788088963: Fix forward AD gradcheck error indexing (#194991)
- PyTorch: 253 events in the last 90 days
- PyTorch: 250th Release in the last 90 days
- Previous: earlier the same day · viable/strict/1788078586: [torchcomms hash update] update the pinned torchcomms hash (#195084)
What happened
Summary I reviewed the patch before submission and understand the change as a fix to the forward-AD fast-mode diagnostic path, not the normal gradcheck computation. The technical summary and test notes below were drafted with ChatGPT assistance and are quoted to keep that AI-assisted text clearly separated. Technical summary gradcheck(fast_mode=True, check_forward_ad=True) indexes fast-mode inputs among differentiab…
Summary assembled by rule from the sources below