Example code to check valid installation of libraries?

Hello community,

I was recently running into some execution errors and I am curious if there is any example code that I can run to test if pytorch correctly works with CUDNN?

Thanks a lot.

Christian