← Back to events
ActiveAIRelease

trunk/7b4f739ae84d496739c2a73f8da95e8e829fd5cc: Fix forward AD gradcheck error indexing (#194991)

Photo: PyTorch Releases

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

Why it's spreading

Sources