Include module names in recursive error stacks (#22921)
Summary:
Following on to #22280, this adds module names so they're included in
the call stacks of an error message (e.g. so it appears as `M.forward`
instead of `forward`)
](https://our.intern.facebook.com/intern/diff/16287925/)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/22921
Pulled By: driazati
Differential Revision: D16287925
fbshipit-source-id: 6f31d72caa87ba2dc527805d36f7d62eb94c0808