Revert "Fix guard for SUPPORTED_NODES (#120798)"
This reverts commit 1b8bb027f676aa8c4260a3f6b9a5c98c37d25dc7.
Reverted https://github.com/pytorch/pytorch/pull/120798 on behalf of https://github.com/kit1980 due to the new test fails internally, see D54343456 ([comment](https://github.com/pytorch/pytorch/pull/120798#issuecomment-1972134227))