cocktailpeanut / bark.pinokio

5 stars 1 forks source link

CUDA kernel errors #6

Open Bayrondalord opened 1 year ago

Bayrondalord commented 1 year ago

Hello,

Thanks for resolving the previous issue with scipy module. Now Bark is launching properly.

But when submiting, i got this error :

File "C:***pinokio\api\bark.pinokio.git\env\lib\site-packages\torch\nn\functional.py", line 2543, in layer_norm
return torch.layer_norm(input, normalized_shape, weight, bias, eps, torch.backends.cudnn.enabled) 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.

Don't kwnow how to fix it, any idea ? Can we run it on CPU mode or something else ?

Thanks !

Bayrondalord commented 1 year ago

CPU can't work with bark. Only Cuda GPU will make it. - Fine- . (perhaps you could mention it on the discover page ^^)

I got an old but good Geforce 970. I try to install latests gpu driver, install Visual Studio, install Cuda with plugins... But nothing is happening but :

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.

Please let me know how to run this ! I can't imagine how complexe is what u try to do. Thanks for it !