fix-test

fix-test
This commit is contained in:
flybird11111
2024-01-03 14:26:13 +08:00
committed by GitHub
parent 7f3400b560
commit 365671be10
3 changed files with 9 additions and 1 deletions

View File

@@ -1054,6 +1054,10 @@ class HybridParallelPlugin(PipelinePluginBase):
self.max_norm = max_norm
def __del__(self):
"""Destroy the prcess groups in ProcessGroupMesh"""
self.pg_mesh.destroy_mesh_process_groups()
@property
def enable_pipeline_parallelism(self) -> bool:
return self.pp_size > 1