jaywalnut310 / vits

VITS: Conditional Variational Autoencoder with Adversarial Learning for End-to-End Text-to-Speech
https://jaywalnut310.github.io/vits-demo/index.html
MIT License
6.73k stars 1.24k forks source link

[Bug] 80000 exceeds legal port number range 0-65535 #52

Open OlaWod opened 2 years ago

OlaWod commented 2 years ago

https://github.com/jaywalnut310/vits/blob/2e561ba58618d021b5b8323d3765880f7e0ecfdb/train_ms.py#L47

https://github.com/pytorch/pytorch/issues/67172#issuecomment-1022343979

Setting port to 80000 (or any other number beyond 0-65535) will cause the error below if pytorch version >= 1.10.2 :

TypeError: __init__(): incompatible constructor arguments. The following argument types are supported:
    1. torch._C._distributed_c10d.TCPStore(host_name: str, port: int, world_size: int = -1, is_master: bool = False, timeout: datetime.timedelta = datetime.timedelta(seconds=
300), wait_for_workers: bool = True, multi_tenant: bool = False)

Invoked with: 'localhost', 80000, 1, True, datetime.timedelta(seconds=1800); kwargs: multi_tenant=True