[ROCm] Skip test_parity* unit tests in test_foreach only if ROCm version < 6.0 (#117301)
Skip test_parity* unit tests in test_foreach.py on ROCm only if ROCm version < 6.0
Pull Request resolved: https://github.com/pytorch/pytorch/pull/117301
Approved by: https://github.com/jithunnair-amd, https://github.com/ezyang