MCPcopy Create free account
hub / github.com/OpenDriveLab/ReSim / destroy_model_parallel

Function destroy_model_parallel

SwissArmyTransformer/sat/mpu/initialize.py:176–183  ·  view source on GitHub ↗

Set the groups to none.

()

Source from the content-addressed store, hash-verified

174
175
176def destroy_model_parallel():
177 """Set the groups to none."""
178 global _MODEL_PARALLEL_GROUP
179 _MODEL_PARALLEL_GROUP = None
180 global _DATA_PARALLEL_GROUP
181 _DATA_PARALLEL_GROUP = None
182 global _NODE_GROUP
183 _NODE_GROUP = None

Callers 3

from_pretrainedMethod · 0.90
from_pretrainedMethod · 0.90
mp_split_modelFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected