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

Function get_context_parallel_world_size

sat/sgm/util.py:56–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54
55
56def get_context_parallel_world_size():
57 assert _CONTEXT_PARALLEL_SIZE is not None, "context parallel size is not initialized"
58
59 return _CONTEXT_PARALLEL_SIZE
60
61
62def get_context_parallel_rank():

Callers 5

_splitFunction · 0.50
_gatherFunction · 0.50
_conv_splitFunction · 0.50
_conv_gatherFunction · 0.50
_pass_from_previous_rankFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected