mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-04 18:40:28 +00:00
@@ -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
|
||||
|
Reference in New Issue
Block a user