Revert "[Compiled Autograd] Error if tensor_post_acc_grad_hooks is set (#111273)"
This reverts commit cba0dd0fdcdc550005976fd4af6fd3c70f4ddb3c.
Reverted https://github.com/pytorch/pytorch/pull/111273 on behalf of https://github.com/jeanschmidt due to Breaking internal CI ([comment](https://github.com/pytorch/pytorch/pull/111273#issuecomment-1768522328))