[GH-ISSUE #1521] Can't not training with RVC1006Nvidia #997

Closed
opened 2026-10-20 10:04:57 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @mickeykiller on GitHub (Nov 9, 2023).
Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/1521

This is the issue I met, and my GPU is GTX3060 12G.
And the model I use is from this https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/RVC1006Nvidia.7z
How should I do to fix that?

Traceback (most recent call last):
File "multiprocessing\process.py", line 315, in _bootstrap
File "multiprocessing\process.py", line 108, in run
File "D:\RVC1006Nvidia\infer\modules\train\train.py", line 232, in run
logger.info(
UnboundLocalError: local variable 'logger' referenced before assignment
INFO:tsong1hr-test:loaded pretrained assets/pretrained_v2/f0G40k.pth
INFO:tsong1hr-test:
INFO:tsong1hr-test:loaded pretrained assets/pretrained_v2/f0D40k.pth
INFO:tsong1hr-test:
D:\RVC1006Nvidia\runtime\lib\site-packages\torch\functional.py:641: UserWarning: stft with return_complex=False is deprecated. In a future pytorch release, stft will return complex tensors for all inputs, and return_complex=False will raise an error.
Note: you can still call torch.view_as_real on the complex output to recover the old return format. (Triggered internally at C:\actions-runner_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\SpectralOps.cpp:867.)
return _VF.stft(input, n_fft, hop_length, win_length, window, # type: ignore[attr-defined]
D:\RVC1006Nvidia\runtime\lib\site-packages\torch\functional.py:641: UserWarning: stft with return_complex=False is deprecated. In a future pytorch release, stft will return complex tensors for all inputs, and return_complex=False will raise an error.
Note: you can still call torch.view_as_real on the complex output to recover the old return format. (Triggered internally at C:\actions-runner_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\SpectralOps.cpp:867.)
return _VF.stft(input, n_fft, hop_length, win_length, window, # type: ignore[attr-defined]
D:\RVC1006Nvidia\runtime\lib\site-packages\torch\functional.py:641: UserWarning: stft with return_complex=False is deprecated. In a future pytorch release, stft will return complex tensors for all inputs, and return_complex=False will raise an error.
Note: you can still call torch.view_as_real on the complex output to recover the old return format. (Triggered internally at C:\actions-runner_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\SpectralOps.cpp:867.)
return _VF.stft(input, n_fft, hop_length, win_length, window, # type: ignore[attr-defined]
D:\RVC1006Nvidia\runtime\lib\site-packages\torch\functional.py:641: UserWarning: stft with return_complex=False is deprecated. In a future pytorch release, stft will return complex tensors for all inputs, and return_complex=False will raise an error.
Note: you can still call torch.view_as_real on the complex output to recover the old return format. (Triggered internally at C:\actions-runner_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\SpectralOps.cpp:867.)
return _VF.stft(input, n_fft, hop_length, win_length, window, # type: ignore[attr-defined]
DEBUG:infer.lib.train.mel_processing:min value is tensor(-1.0959)
DEBUG:infer.lib.train.mel_processing:min value is tensor(-1.0848)
D:\RVC1006Nvidia\runtime\lib\site-packages\torch\functional.py:641: UserWarning: stft with return_complex=False is deprecated. In a future pytorch release, stft will return complex tensors for all inputs, and return_complex=False will raise an error.
Note: you can still call torch.view_as_real on the complex output to recover the old return format. (Triggered internally at C:\actions-runner_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\SpectralOps.cpp:867.)
return _VF.stft(input, n_fft, hop_length, win_length, window, # type: ignore[attr-defined]
DEBUG:infer.lib.train.mel_processing:min value is tensor(-1.0874)
Process Process-1:
Traceback (most recent call last):
File "multiprocessing\process.py", line 315, in bootstrap
File "multiprocessing\process.py", line 108, in run
File "D:\RVC1006Nvidia\infer\modules\train\train.py", line 271, in run
train_and_evaluate(
File "D:\RVC1006Nvidia\infer\modules\train\train.py", line 484, in train_and_evaluate
scaler.scale(loss_disc).backward()
File "D:\RVC1006Nvidia\runtime\lib\site-packages\torch_tensor.py", line 487, in backward
torch.autograd.backward(
File "D:\RVC1006Nvidia\runtime\lib\site-packages\torch\autograd_init
.py", line 200, in backward
Variable._execution_engine.run_backward( # Calls into the C++ engine to run the backward pass
RuntimeError: [C:\actions-runner_work\pytorch\pytorch\builder\windows\pytorch\third_party\gloo\gloo\transport\uv\unbound_buffer.cc:67] Timed out waiting 1800000ms for recv operation to complete

Originally created by @mickeykiller on GitHub (Nov 9, 2023). Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/1521 This is the issue I met, and my GPU is GTX3060 12G. And the model I use is from this https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/RVC1006Nvidia.7z How should I do to fix that? Traceback (most recent call last): File "multiprocessing\process.py", line 315, in _bootstrap File "multiprocessing\process.py", line 108, in run File "D:\RVC1006Nvidia\infer\modules\train\train.py", line 232, in run logger.info( UnboundLocalError: local variable 'logger' referenced before assignment INFO:tsong1hr-test:loaded pretrained assets/pretrained_v2/f0G40k.pth INFO:tsong1hr-test:<All keys matched successfully> INFO:tsong1hr-test:loaded pretrained assets/pretrained_v2/f0D40k.pth INFO:tsong1hr-test:<All keys matched successfully> D:\RVC1006Nvidia\runtime\lib\site-packages\torch\functional.py:641: UserWarning: stft with return_complex=False is deprecated. In a future pytorch release, stft will return complex tensors for all inputs, and return_complex=False will raise an error. Note: you can still call torch.view_as_real on the complex output to recover the old return format. (Triggered internally at C:\actions-runner\_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\SpectralOps.cpp:867.) return _VF.stft(input, n_fft, hop_length, win_length, window, # type: ignore[attr-defined] D:\RVC1006Nvidia\runtime\lib\site-packages\torch\functional.py:641: UserWarning: stft with return_complex=False is deprecated. In a future pytorch release, stft will return complex tensors for all inputs, and return_complex=False will raise an error. Note: you can still call torch.view_as_real on the complex output to recover the old return format. (Triggered internally at C:\actions-runner\_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\SpectralOps.cpp:867.) return _VF.stft(input, n_fft, hop_length, win_length, window, # type: ignore[attr-defined] D:\RVC1006Nvidia\runtime\lib\site-packages\torch\functional.py:641: UserWarning: stft with return_complex=False is deprecated. In a future pytorch release, stft will return complex tensors for all inputs, and return_complex=False will raise an error. Note: you can still call torch.view_as_real on the complex output to recover the old return format. (Triggered internally at C:\actions-runner\_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\SpectralOps.cpp:867.) return _VF.stft(input, n_fft, hop_length, win_length, window, # type: ignore[attr-defined] D:\RVC1006Nvidia\runtime\lib\site-packages\torch\functional.py:641: UserWarning: stft with return_complex=False is deprecated. In a future pytorch release, stft will return complex tensors for all inputs, and return_complex=False will raise an error. Note: you can still call torch.view_as_real on the complex output to recover the old return format. (Triggered internally at C:\actions-runner\_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\SpectralOps.cpp:867.) return _VF.stft(input, n_fft, hop_length, win_length, window, # type: ignore[attr-defined] DEBUG:infer.lib.train.mel_processing:min value is tensor(-1.0959) DEBUG:infer.lib.train.mel_processing:min value is tensor(-1.0848) D:\RVC1006Nvidia\runtime\lib\site-packages\torch\functional.py:641: UserWarning: stft with return_complex=False is deprecated. In a future pytorch release, stft will return complex tensors for all inputs, and return_complex=False will raise an error. Note: you can still call torch.view_as_real on the complex output to recover the old return format. (Triggered internally at C:\actions-runner\_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\SpectralOps.cpp:867.) return _VF.stft(input, n_fft, hop_length, win_length, window, # type: ignore[attr-defined] DEBUG:infer.lib.train.mel_processing:min value is tensor(-1.0874) Process Process-1: Traceback (most recent call last): File "multiprocessing\process.py", line 315, in _bootstrap File "multiprocessing\process.py", line 108, in run File "D:\RVC1006Nvidia\infer\modules\train\train.py", line 271, in run train_and_evaluate( File "D:\RVC1006Nvidia\infer\modules\train\train.py", line 484, in train_and_evaluate scaler.scale(loss_disc).backward() File "D:\RVC1006Nvidia\runtime\lib\site-packages\torch\_tensor.py", line 487, in backward torch.autograd.backward( File "D:\RVC1006Nvidia\runtime\lib\site-packages\torch\autograd\__init__.py", line 200, in backward Variable._execution_engine.run_backward( # Calls into the C++ engine to run the backward pass RuntimeError: [C:\actions-runner\_work\pytorch\pytorch\builder\windows\pytorch\third_party\gloo\gloo\transport\uv\unbound_buffer.cc:67] Timed out waiting 1800000ms for recv operation to complete
Author
Owner

@wsws1 commented on GitHub (Dec 9, 2023):

mark same question

<!-- gh-comment-id:1848263794 --> @wsws1 commented on GitHub (Dec 9, 2023): mark same question
Author
Owner

@RVC-Boss commented on GitHub (Jan 26, 2024):

https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/infer/modules/train/train.py
update this file. Maybe fix now.

<!-- gh-comment-id:1911635771 --> @RVC-Boss commented on GitHub (Jan 26, 2024): https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/infer/modules/train/train.py update this file. Maybe fix now.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
RVC-Project/Retrieval-based-Voice-Conversion-WebUI#997
No description provided.