xuhuisheng / rocm-gfx803

185 stars 9 forks source link

cuDNN version incompatibility: PyTorch was compiled against (2, 15, 0) but linked against (2, 16, 0) #13

Closed andreaalf closed 2 years ago

andreaalf commented 2 years ago

HI. I upgraded to rocm 5.1.1 by a fresh istallation. When i try to run a pytorch project i get that issue

xuhuisheng commented 2 years ago

Could you show me some testcase for re-produce this issue?

andreaalf commented 2 years ago

in this link you can find a jupyter notebook that reproduce this issue https://drive.google.com/file/d/1Q0JiJeAT7fQhXmtAskPGWVKadTgJZcwn/view?usp=sharing (you don't need to download any dataset, you can also read the code and logs by colab)

this is the error log image

AlfaranoAndrea commented 2 years ago

i tried also downgrading to pytorch for rocm5.0.0 and into other projects but i got the same issue. This error snippet maybe can be more explicative image

xuhuisheng commented 2 years ago

Looks like we need re-compile pytorch on ROCm-5.1. Current version compiled on ROCm-5.0. so you can see MIOpen version is 2.15.0