`torch.autograd.functional.jacobian` raises `NotImplementedError` at execution time for `strategy='forward-mode'` with `vectorize=False` instead of raising `ValueError` at argument validation
May 22, 2026 · #184842
Python
Difficulty: Medium
Labels
module: autograd good first issue module: error checking triaged enhancement
Parent Repository
pytorch/pytorch
Python repository
100,083 27,851
Ready to work on this? Walk through the full fork-to-PR workflow so your first contribution goes smoothly.