question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RuntimeError: CUDA error: CUBLAS_STATUS_INTERNAL_ERROR when calling `cublasCreate(handle)`

See original GitHub issue

I found an error RuntimeError: CUDA error: CUBLAS_STATUS_INTERNAL_ERROR when calling cublasCreate(handle) when trying to imagining the text.

The error seems to have occurred right here ~/miniconda3/envs/env/lib/python3.7/site-packages/torch/nn/functional.py in linear(input, weight, bias) 1751 if has_torch_function_variadic(input, weight): 1752 return handle_torch_function(linear, (input, weight), input, weight, bias=bias) -> 1753 return torch._C._nn.linear(input, weight, bias)

Can somebody tell the reason why this happens?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:6

github_iconTop GitHub Comments

3reactions
compwiztobecommented, May 3, 2021

I had this error with torch 1.8.0 and it was fixed with torch 1.8.1. https://github.com/pytorch/pytorch/issues/53336

1reaction
twintreescommented, May 4, 2021

I had this error with torch 1.8.0 and it was fixed with torch 1.8.1. pytorch/pytorch#53336

Thank you very much. It was fixed in torch 1.8.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

CUBLAS_STATUS_INTERNAL_...
_nn.linear(input, weight, bias) RuntimeError: CUDA error: CUBLAS_STATUS_INTERNAL_ERROR when calling `cublasCreate(handle)`.
Read more >
CUDA error: CUBLAS_STATUS_INTERNAL_ERROR when ...
_nn.linear(input, weight, bias) RuntimeError: CUDA error: CUBLAS_STATUS_INTERNAL_ERROR when calling `cublasCreate(handle)`.
Read more >
CUDA error BERT - Beginners - Hugging Face Forums
RuntimeError : CUDA error: CUBLAS_STATUS_NOT_INITIALIZED when calling cublasCreate(handle) Full traceback Runtime…
Read more >
cuda error: cublas_status_internal_error when calling ...
RuntimeError CUDA error CUBLAS_STATUS_INTERNAL_ERROR when calling cublasCreate (handle). Open side panel. cudaMallocManaged (unified memory) with cuBLAS.
Read more >
完美解决:RuntimeError: CUDA error ... - CSDN博客
完美解决:RuntimeError: CUDA error: CUBLAS_STATUS_INTERNAL_ERROR when calling `cublasCreate(handle). qq_40819945 于 2021-03-23 14:26:12 发布 13217 收藏 10.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found