Skip to content

Commit

Permalink
[vits2] support ddp for net_dur_disc
Browse files Browse the repository at this point in the history
  • Loading branch information
ShengqiangLi authored and ShengqiangLi committed Feb 21, 2024
1 parent fb37f10 commit 64ee6fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wetts/vits/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@ def main():
# latest work for others
net_g = DDP(net_g, device_ids=[rank], find_unused_parameters=True)
net_d = DDP(net_d, device_ids=[rank], find_unused_parameters=True)
if net_dur_disc:
net_dur_disc = DDP(net_dur_disc, device_ids=[rank], find_unused_parameters=True)

try:
_, _, _, epoch_str = task.load_checkpoint(
Expand Down

0 comments on commit 64ee6fa

Please sign in to comment.