Revert "Bug fix in ExtraCUDACopy and remove unstable lints for release (#82693)"
This reverts commit 50a1124fd006e4d893687ce9ab1399565a9d2741.
Reverted https://github.com/pytorch/pytorch/pull/82693 on behalf of https://github.com/zengk95 due to This is breaking test_profiler_extra_cuda_copy_pattern_benchmark on windows https://hud.pytorch.org/pytorch/pytorch/commit/50a1124fd006e4d893687ce9ab1399565a9d2741