Revert "Break graph on `manual_seed`. (#107594)"
This reverts commit 6ad5568cbc7122356b58789a1d3bcd16d5faf775.
Reverted https://github.com/pytorch/pytorch/pull/107594 on behalf of https://github.com/huydhn due to Sorry for reverting your change, but it has an import issue that breaks internal code ([comment](https://github.com/pytorch/pytorch/pull/107594#issuecomment-1705584405))