Skip to content

Instantly share code, notes, and snippets.

@meisa233
Created July 6, 2023 06:41
Show Gist options
  • Save meisa233/40fe356f88f6973eba3ed0ae9dc38a59 to your computer and use it in GitHub Desktop.
Save meisa233/40fe356f88f6973eba3ed0ae9dc38a59 to your computer and use it in GitHub Desktop.
PyTorch RuntimeError: cuDNN error: CUDNN_STATUS_NOT_SUPPORTED.

add this line after import torch

torch.backends.cudnn.enabled = False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment