More informative stacklevel for autograd function warning (#120512)
Internal xref:
https://fb.workplace.com/groups/1405155842844877/posts/8064897663537295
Signed-off-by: Edward Z. Yang <ezyang@meta.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/120512
Approved by: https://github.com/albanD