Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonInTheRiver/DiffSinger
/ data_parallel
Method
data_parallel
utils/pl_utils.py:466–467 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
464
465
@property
466
def
data_parallel(self):
467
return
self.use_dp or self.use_ddp
468
469
def
get_model(self):
470
is_dp_module = isinstance(self.model, (DDP, DP))
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected