It’s plainly not implemented and currently not considered in scope (other frameworks such as JAX seem to provide more general derivatives). For some operations you can trick autograd using broadcasting. There is some related discussion in an old issue 16 and less related in the forum thread linked there. Another way might be to implement it yourself based on Torch IR graphs or to implement dual numbers in tensors or so.
Best regards
Thomas