MCPcopy Create free account
hub / github.com/ModelTC/LightX2V / ddp_enabled

Function ddp_enabled

lightx2v_train/lightx2v_train/runtime/ddp.py:60–61  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

58
59
60def ddp_enabled(config):
61 return is_distributed() and ddp_config(config).get("enabled", False)
62
63
64def is_ddp_module(module):

Callers 2

apply_parallelFunction · 0.90
apply_ddpFunction · 0.85

Calls 3

is_distributedFunction · 0.90
ddp_configFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected