The log should have given you the found CUDA and cudnn version.
You could also check it via print(torch.version.cuda) and print(torch.backends.cudnn.version()).
Could you post a (minimal) code snippet to reproduce the CUDNN_MAPPING_ERROR, please?