Retrieval-based-Voice-Conversion-WebUI icon indicating copy to clipboard operation
Retrieval-based-Voice-Conversion-WebUI copied to clipboard

Training an RVC model keeps failing due to a CUDA error (RVC V2)

Open Den4ikSeekers opened this issue 11 months ago • 0 comments

I get this error constantly when training a new model.

When it encounters the problem my screen gets black for a couple of seconds and then the cmd gives out the error, saying: RuntimeError: CUDA error: an illegal memory access was encountered

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.

My laptop hardware (HP Omen 16 b0265nw): CPU: Intel Core i7-11800H RAM: 32 GB GPU: RTX 3070 8GB (integrated Intel graphics GPU is disabled)

The console suggested passing CUDA_LAUNCH_BLOCKING=1 but I don't know what I should do with this line of code and if it's even worth it.

Den4ikSeekers avatar Mar 23 '24 13:03 Den4ikSeekers