def METHOD_NAME(self):
    """
    Tests parity with DDP when mixing flat parameters that require and do
    not require gradients.
    """
    self.run_subtests(
        {
            "sharding_strategy": [
                ShardingStrategy.FULL_SHARD,
                ShardingStrategy.SHARD_GRAD_OP,
                ShardingStrategy.NO_SHARD,
            ],
            "use_orig_params": [False, True],
        },
        self._test_parity_with_ddp,
    )