Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
60
def
ddp_enabled(config):
61
return
is_distributed() and ddp_config(config).get(
"enabled"
, False)
62
63
64
def
is_ddp_module(module):
Callers
2
apply_parallel
Function · 0.90
apply_ddp
Function · 0.85
Calls
3
is_distributed
Function · 0.90
ddp_config
Function · 0.85
get
Method · 0.45
Tested by
no test coverage detected