Use Mcore ModelParallelConfig in strategy parallelism property
@hemildesai   can you hold on this, I think my previous pr might get affected, since we are deleting encoder_pp_size and encoder_tp_size. https://github.com/NVIDIA/NeMo/pull/10643  This PR is stale because it has been open for 14 days with no activity. Remove stale label or comment or update or this will be closed in 7 days. This PR was closed because it has been inactive for 7 days since being marked as stale.
This uses Mcore's ModelParallelConfig directly in `strategy.parallelism`. This should also enable backwards compatibility with different Mcore versions as it relies on the Mcore class now.