[GH-ISSUE #1957] error rvc #1326

Open
opened 2026-10-20 10:08:05 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @hijxmmy on GitHub (Apr 9, 2024).
Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/1957

Traceback (most recent call last):
File "C:\Users\Utilizador\Desktop\RVC-GUI-pkg-20220525-mp3fix\RVC-GUI-pkg\rvcgui.py", line 129, in vc_single
audio_opt = vc.pipeline(
File "C:\Users\Utilizador\Desktop\RVC-GUI-pkg-20220525-mp3fix\RVC-GUI-pkg\vc_infer_pipeline.py", line 326, in pipeline
sid = torch.tensor(sid, device=self.device).unsqueeze(0).long()
RuntimeError: CUDA error: the launch timed out and was terminated
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.

Originally created by @hijxmmy on GitHub (Apr 9, 2024). Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/1957 Traceback (most recent call last): File "C:\Users\Utilizador\Desktop\RVC-GUI-pkg-20220525-mp3fix\RVC-GUI-pkg\rvcgui.py", line 129, in vc_single audio_opt = vc.pipeline( File "C:\Users\Utilizador\Desktop\RVC-GUI-pkg-20220525-mp3fix\RVC-GUI-pkg\vc_infer_pipeline.py", line 326, in pipeline sid = torch.tensor(sid, device=self.device).unsqueeze(0).long() RuntimeError: CUDA error: the launch timed out and was terminated CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1. Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
Author
Owner

@arbazw commented on GitHub (Jun 21, 2024):

Set the environment variable CUDA_LAUNCH_BLOCKING=1 before running your application. This makes CUDA API calls synchronous, providing more accurate error messages and stack traces.

export CUDA_LAUNCH_BLOCKING=1

<!-- gh-comment-id:2183324419 --> @arbazw commented on GitHub (Jun 21, 2024): Set the environment variable `CUDA_LAUNCH_BLOCKING=1` before running your application. This makes CUDA API calls synchronous, providing more accurate error messages and stack traces. `export CUDA_LAUNCH_BLOCKING=1`
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#1326
No description provided.