mazzzystar / WaveGAN-pytorch

PyTorch implementation of " Synthesizing Audio with Generative Adversarial Networks"
https://arxiv.org/abs/1802.04208
64 stars 15 forks source link

RuntimeError: cublas runtime error : the GPU program failed to execute at /opt/conda/conda-bld/pytorch_1549616138213/work/aten/src/THC/THCBlas.cu:258 #3

Closed hinash88 closed 5 years ago

hinash88 commented 5 years ago

Hello everyone!

I am new to learn audio WavGAN and I am trying to run this code on Linux 16.04 for piano train dataset containing 15 (.wav) files. Can anybody please help me why I am having this issue. I am working on: 1- CUDA Version: CUDA-10.0 2- NVIDIA Driver Version: 410.79 3- Simulation details include: Batch Size = 10, nGPU = 4 (Since I have 4 GPUs GeFORCE RTX 2080)

mazzzystar commented 5 years ago

As seen in this issue, the mismatch between the driver version and cuda version lead to this problem.

hinash88 commented 5 years ago

Thank you for your reply! You are right. I already installed CUDA10.0 which was compatible with my driver version. The problem is pytorch which when installed with pip was not supporting my platform.

I solved this problem by selecting Stable-> Linux->conda->python2.7->CUDA from (https://pytorch.org/). After that I updated ~/.bashrc by adding path to my installed anaconda/bin to $PATH variable.

For anyone who is interested!

kangkang59812 commented 5 years ago

@hinash88 so you mean you reinstall the pytorch to sovle the problem?

hinash88 commented 5 years ago

Yes, from https://pytorch.org

On Sat, Mar 2, 2019, 3:17 PM MultiK notifications@github.com wrote:

@hinash88 https://github.com/hinash88 so you mean you reinstall the pytorch to sovle the problem?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mazzzystar/WaveGAN-pytorch/issues/3#issuecomment-468890435, or mute the thread https://github.com/notifications/unsubscribe-auth/Atoc6TbpSv-aN9dfk0so3-XlHUN6d8I-ks5vSheUgaJpZM4bG9fC .

kangkang59812 commented 5 years ago

from source code?

kangkang59812 commented 5 years ago

@hinash88 'After that I updated ~/.bashrc by adding path to my installed anaconda/bin to $PATH variable.'

Could you show me how did you do exactly? Thanks a lot!!!

hinash88 commented 5 years ago

Stable-> Linux->conda->python2.7->CUDA from (https://pytorch.org/)

On Sat, Mar 2, 2019, 3:25 PM MultiK notifications@github.com wrote:

from source code?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mazzzystar/WaveGAN-pytorch/issues/3#issuecomment-468890867, or mute the thread https://github.com/notifications/unsubscribe-auth/Atoc6ViUhPIb184WXn6tHtlq2fCsxEQmks5vShlbgaJpZM4bG9fC .

hinash88 commented 5 years ago

Can you please confirm your CUDA version?

On Sat, Mar 2, 2019, 3:31 PM Hina Ashraf hina.ashraf@nu.edu.pk wrote:

Stable-> Linux->conda->python2.7->CUDA from (https://pytorch.org/)

On Sat, Mar 2, 2019, 3:25 PM MultiK notifications@github.com wrote:

from source code?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mazzzystar/WaveGAN-pytorch/issues/3#issuecomment-468890867, or mute the thread https://github.com/notifications/unsubscribe-auth/Atoc6ViUhPIb184WXn6tHtlq2fCsxEQmks5vShlbgaJpZM4bG9fC .