Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
snippet in c

Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR

user594

$ export TF_FORCE_GPU_ALLOW_GROWTH=true

Could not create cudnn handle: CUDNN_STATUS_ALLOC_FAILED

user3684

physical_devices = tf.config.experimental.list_physical_devices('GPU')
assert len(physical_devices) > 0, "Not enough GPU hardware devices available"
config = tf.config.experimental.set_memory_growth(physical_devices[0], True)

could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR

user8043

physical_devices = tf.config.experimental.list_physical_devices('GPU')
assert len(physical_devices) > 0, "Not enough GPU hardware devices available"
config = tf.config.experimental.set_memory_growth(physical_devices[0], True)