Set the groups to none.
()
| 394 | |
| 395 | |
| 396 | def destroy_model_parallel(): |
| 397 | """Set the groups to none.""" |
| 398 | global _TENSOR_MODEL_PARALLEL_GROUP |
| 399 | _TENSOR_MODEL_PARALLEL_GROUP = None |
| 400 | global _PIPELINE_MODEL_PARALLEL_GROUP |
| 401 | _PIPELINE_MODEL_PARALLEL_GROUP = None |
| 402 | global _DATA_PARALLEL_GROUP |
| 403 | _DATA_PARALLEL_GROUP = None |
nothing calls this directly
no outgoing calls
no test coverage detected