[shard] disable rocm and windows for sharding_spec test (#74040)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/74040
fixes https://github.com/pytorch/pytorch/issues/73552
ghstack-source-id: 151046817
Test Plan: wait for ci
Reviewed By: rohan-varma
Differential Revision: D34792398
fbshipit-source-id: 84d08f01db8375817f48537505e7d988cb39d1f4
(cherry picked from commit 18b21ef0db91ddd22dc57a5b413e3e3ad594bb14)