Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError: CUDA error: CUBLAS_STATUS_INVALID_VALUE #17

Open
maxm224 opened this issue Nov 13, 2022 · 1 comment
Open

RuntimeError: CUDA error: CUBLAS_STATUS_INVALID_VALUE #17

maxm224 opened this issue Nov 13, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@maxm224
Copy link

maxm224 commented Nov 13, 2022

What

I am trying to get this to run on a NVIDIA T4. However I always get an error. When I run it on a cpu it works great. Just a bit too slow for larger files.

The error:

lh2dg 2022-11-13T10:55:35.504Z layer_outputs = layer( l
h2dg 2022-11-13T10:55:35.504Z encoder_outputs = self.encoder( 
lh2dg 2022-11-13T10:55:35.504Z File "/opt/conda/lib/python3.9/site-packages/transformers/models/wav2vec2/modeling_wav2vec2.py", line 872, in forward
lh2dg 2022-11-13T10:55:35.504Z return forward_call(*input, **kwargs) 
lh2dg 2022-11-13T10:55:35.504Z return forward_call(*input, **kwargs) lh2dg 2022-11-13T10:55:35.505Z attn_weights = torch.bmm(query_states, key_states.transpose(1, 2)) 
lh2dg 2022-11-13T10:55:35.505Z **RuntimeError: CUDA error: CUBLAS_STATUS_INVALID_VALUE when calling `cublasSgemmStridedBatched( handle, opa, opb, m, n, k, &alpha, a, lda, stridea, b, ldb, strideb, &beta, c, ldc, stridec, num_batches)`**
@maxm224 maxm224 added the bug Something isn't working label Nov 13, 2022
@maxm224
Copy link
Author

maxm224 commented Nov 13, 2022

Also on CPU I noticed that for recordings longer than 1 minute, the program crashes. Is there something I can configure to make longer recordings work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant