[with_data_parallel][part10] remove with_data_parallel in parallel_executor.py by kangguangli · Pull Request #51369 · PaddlePaddle/Paddle

PR types

Others

PR changes

Others

Describe

The api with_data_parallel will be removed after paddle2.5. So its references should be removed at same time.
ParallelExecutor will be deleted in the end but for now we just remove with_data_parallel. This PR also deletes several
unit test cases using ParallelExecutor directly, they seems to run with single gpu since no cmake test property set. So this should be fine.

Other

Pcard-67004