[Composable] Add hybrid shard AC compile test (#105207)
This was request to ensure hybrid shard + AC + compile works.
Differential Revision: [D47462393](https://our.internmc.facebook.com/intern/diff/D47462393/)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/105207
Approved by: https://github.com/awgu, https://github.com/fegin