GPT-SoVITS icon indicating copy to clipboard operation
GPT-SoVITS copied to clipboard

SoVITS训练提示 TCPStore( RuntimeError: unmatched '}' in format string

Open betacatcode opened this issue 2 months ago • 0 comments

Windows11 CUDA 13.0 进行 GPT-SoVITS-v4的SoVTIS训练提示

D:\GPT-SoVITS-v4-20250529\runtime\python.exe" -s GPT_SoVITS/s2_train.py --config "D:\GPT-SoVITS-v4-20250529\TEMP/tmp_s2.json

Traceback (most recent call last):
  File "D:\GPT-SoVITS-v4-20250529\GPT_SoVITS\s2_train.py", line 680, in <module>
    main()
  File "D:\GPT-SoVITS-v4-20250529\GPT_SoVITS\s2_train.py", line 61, in main
    mp.spawn(
  File "D:\GPT-SoVITS-v4-20250529\runtime\lib\site-packages\torch\multiprocessing\spawn.py", line 239, in spawn
    return start_processes(fn, args, nprocs, join, daemon, start_method='spawn')
  File "D:\GPT-SoVITS-v4-20250529\runtime\lib\site-packages\torch\multiprocessing\spawn.py", line 197, in start_processes
    while not context.join():
  File "D:\GPT-SoVITS-v4-20250529\runtime\lib\site-packages\torch\multiprocessing\spawn.py", line 160, in join
    raise ProcessRaisedException(msg, error_index, failed_process.pid)
torch.multiprocessing.spawn.ProcessRaisedException:

-- Process 0 terminated with the following error:
Traceback (most recent call last):
  File "D:\GPT-SoVITS-v4-20250529\runtime\lib\site-packages\torch\multiprocessing\spawn.py", line 69, in _wrap
    fn(i, *args)
  File "D:\GPT-SoVITS-v4-20250529\GPT_SoVITS\s2_train.py", line 80, in run
    dist.init_process_group(
  File "D:\GPT-SoVITS-v4-20250529\runtime\lib\site-packages\torch\distributed\distributed_c10d.py", line 888, in init_process_group
    store, rank, world_size = next(rendezvous_iterator)
  File "D:\GPT-SoVITS-v4-20250529\runtime\lib\site-packages\torch\distributed\rendezvous.py", line 246, in _env_rendezvous_handler
    store = _create_c10d_store(master_addr, master_port, rank, world_size, timeout)
  File "D:\GPT-SoVITS-v4-20250529\runtime\lib\site-packages\torch\distributed\rendezvous.py", line 177, in _create_c10d_store
    return TCPStore(
RuntimeError: unmatched '}' in format string

仿照 #issues35的在rendezvous.py175行下加hostname = "localhost"依旧无效

betacatcode avatar Sep 27 '25 03:09 betacatcode