[GH-ISSUE #2589] Train Extraction failure on AMD GPU #1845

Open
opened 2026-10-20 10:12:35 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @slopnslop on GitHub (May 29, 2025).
Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/2589

I have an 7900xtx

In the training tab when I click to extract features, this is what happens to all the sliced audio samples

Starting pitch extraction with 16 cores on cuda:0 using rmvpe...
C:\Users\linsi\Downloads\Applio-3.2.9\env\lib\site-packages\librosa\util\files.py:10: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
from pkg_resources import resource_filename
0%| | 0/1324 [00:00<?, ?it/s]An error occurred extracting file C:\Users\linsi\Downloads\Applio-3.2.9\logs\GI Juh\sliced_audios_16k\0_0_100.wav on cuda:0: CUDA error: invalid argument
Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.

An error occurred extracting file C:\Users\linsi\Downloads\Applio-3.2.9\logs\GI Juh\sliced_audios_16k\0_0_10.wav on cuda:0: CUDA error: invalid argument
Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.

Originally created by @slopnslop on GitHub (May 29, 2025). Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/2589 I have an 7900xtx In the training tab when I click to extract features, this is what happens to all the sliced audio samples Starting pitch extraction with 16 cores on cuda:0 using rmvpe... C:\Users\linsi\Downloads\Applio-3.2.9\env\lib\site-packages\librosa\util\files.py:10: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. from pkg_resources import resource_filename 0%| | 0/1324 [00:00<?, ?it/s]An error occurred extracting file C:\Users\linsi\Downloads\Applio-3.2.9\logs\GI Juh\sliced_audios_16k\0_0_100.wav on cuda:0: CUDA error: invalid argument Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions. An error occurred extracting file C:\Users\linsi\Downloads\Applio-3.2.9\logs\GI Juh\sliced_audios_16k\0_0_10.wav on cuda:0: CUDA error: invalid argument Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
Author
Owner

@zhixuan45 commented on GitHub (Jun 10, 2025):

你需要安装DirectML分包

<!-- gh-comment-id:2957406698 --> @zhixuan45 commented on GitHub (Jun 10, 2025): 你需要安装DirectML分包
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#1845
No description provided.