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

Function set_context_parallel_group

sat/sgm/util.py:25–29  ·  view source on GitHub ↗
(size, group)

Source from the content-addressed store, hash-verified

23
24
25def set_context_parallel_group(size, group):
26 global _CONTEXT_PARALLEL_GROUP
27 global _CONTEXT_PARALLEL_SIZE
28 _CONTEXT_PARALLEL_GROUP = group
29 _CONTEXT_PARALLEL_SIZE = size
30
31
32def initialize_context_parallel(context_parallel_size):

Callers 1

initialize_distributedFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected