Open lrast opened 2 years ago
Thanks for reporting, @lrast. I assume that you're using PyTorch 1.11 and functorch 0.1.*.
This problem should be fixed in the pytorch nightly + functorch main branch. If you're interested in trying that out, please see the instructions over at https://github.com/pytorch/functorch#installing-functorch-from-source .
Found using functorch.hessian and in a model with a torch.nn.Softplus() nonlinearity. Error message:
Writing the nonlinearity by hand fixed the issue. Reporting as requested