MCPcopy Create free account
hub / github.com/THUDM/GLM / destroy_model_parallel

Function destroy_model_parallel

mpu/initialize.py:130–135  ·  view source on GitHub ↗

Set the groups to none.

()

Source from the content-addressed store, hash-verified

128
129
130def destroy_model_parallel():
131 """Set the groups to none."""
132 global _MODEL_PARALLEL_GROUP
133 _MODEL_PARALLEL_GROUP = None
134 global _DATA_PARALLEL_GROUP
135 _DATA_PARALLEL_GROUP = None

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected