Backward the norm of Jacobian matrix

I am trying to use the norm of a Jacobian matrix as a regularization term, however, it seems the resulting term has requires_grad = False. I am using this packagehttps://github.com/mariogeiger/hessian to compute the matrix.