AntixK / PyTorch-VAE

A Collection of Variational Autoencoders (VAE) in PyTorch.
Apache License 2.0
6.44k stars 1.05k forks source link

[W socket.cpp:663] [c10d] The client socket has failed to connect to [DESKTOP-H2DRQRJ]:62468 (system error: 10049) #85

Open xuanhaodong opened 7 months ago

xuanhaodong commented 7 months ago

how to close distributed? I only have 1 GPU, so I need to change the code, I change the parameter in xxx.yaml, GPUs [1] to GPUs[0]. But there may have some error: [W socket.cpp:663] [c10d] The client socket has failed to connect to [DESKTOP-H2DRQRJ]:62468 (system error: 10049). I search it online, it seems like it usually come at distributed training with GPUs. I only have 1 GPU. So how can I run the code?? Wait for your help!

xuanhaodong commented 7 months ago

by the way, my system is windows10, not linux

yjo3 commented 6 months ago

You should change the num_workers: 0 as well as gpus: [0] in XXX.yaml