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.

Contiguity problem: "RuntimeError: cuDNN error: CUDNN_STATUS_NOT_SUPPORTED. This error may appear if you passed in a non-contiguous input."

See original GitHub issue

It seems that LambaLayer breaks contiguity when I try it.

layer(x).is_contiguous()
>> False

I have to use .contiguous() where I train with it, is it normal?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Whiaxcommented, Oct 19, 2020

Ok now it’s working properly without .contiguous(), thanks! Though, I don’t see much difference than with .contiguous() in training time or memory consumption so maybe it wasn’t that important to change … Anyway, thanks for the fix!

0reactions
lucidrainscommented, Oct 19, 2020

@Whiax ok, I reordered some einsums to avoid that contiguous call https://github.com/lucidrains/lambda-networks/releases/tag/0.2.2 let me know if that works for you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

CUDNN_STATUS_NOT_SUPPO...
RuntimeError: cuDNN error: CUDNN_STATUS_NOT_SUPPORTED. This error may appear if you passed in a non-contiguous input #32564.
Read more >
CUDNN_STATUS_NOT_SUPPO...
cuDNN error : CUDNN_STATUS_NOT_SUPPORTED.This error may appear if you passed in a non-contiguous input ... I used the code CRNN and add horovod...
Read more >
Error Message "CUDNN_STATUS_NOT_SUPPORTED ...
RuntimeError : cuDNN error: CUDNN_STATUS_NOT_SUPPORTED. This error may appear if you passed in a non-contiguous input. Possible Causes.
Read more >
cuDNN error: CUDNN_STATUS_NOT_INITIALIZED using ...
There is some discussion regarding this here. I had the same issue but using cuda 11.1 resolved it for me. This is the...
Read more >
【三种可能问题】RuntimeError: cuDNN error - CSDN博客
pytorch训练人脸识别报错:cuDNN error: CUDNN_STATUS_NOT_SUPPORTED. This error may appear if you passed in a non-contiguous 处理方法:在代码中 ...
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