trunk/7b4f739ae84d496739c2a73f8da95e8e829fd5cc: Fix forward AD gradcheck error indexing (#194991)
- PyTorch: 251 events in the last 90 days
- PyTorch: 248th 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