MCPcopy Create free account
hub / github.com/zai-org/CodeGeeX / is_unitialized

Function is_unitialized

codegeex/megatron/mpu/initialize.py:49–51  ·  view source on GitHub ↗

Useful for code segments that may be accessed with or without mpu initialization

()

Source from the content-addressed store, hash-verified

47
48
49def is_unitialized():
50 """Useful for code segments that may be accessed with or without mpu initialization"""
51 return _DATA_PARALLEL_GROUP is None
52
53
54def initialize_model_parallel(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected