Problem description
Failed to get convolution algorithm. This is probably because cuDNN failed to initialize
Cause analysis:
Insufficient GPU memory
Solution:
1.kill -9 PID_*
2. Dynamically allocate GPU memory:
from tensorflow.compat.v1 import ConfigProto
from tensorflow.compat.v1 import InteractiveSession
config = ConfigProto()
config.gpu_options.allow_growth = True
session = InteractiveSession(config=config)
Read More:
- [Solved] TF2.4 Error: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize
- Failed to get convolution algorithm. This is probably because cuDNN failed to initialize,
- Error using tensorflow GPU: could not create cudnn handle: cudnn_STATUS_NOT_INITIALIZED
- [Solved] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
- Tensorflow Run Error or the interface is stuck or report error: Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
- Tensorflow Error: Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
- Android integration of iFLYTEK’s speech recognition (voice dictation) error message “Failed to create the object, please confirm that libmsc.so is placed correctly, and createUtility is called to initialize”
- TensorFlow-gpu Error: failed call to cuInit: CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected
- [Solved] K8s Initialize Error: failed with error: Get “http://localhost:10248/healthz“
- [Solved] loadrunner Error: Failed to Initialize. Reason: TimeOut
- [Solved] Failed to initialize the editor as the document is not in standards mode. TinyMCE requires standards mode.
- [Solved] Logging system failed to initialize using configuration from ‘classpathlogbacklogback-spring.xml‘
- [Solved] Failed to register: Error: Failed to get admin…. run enrollAdmin.js
- [Solved] Win nvidia-smi Cann’t Use,Failed to initialize NVML: Unknown Error
- How to Solve Docker failed to initialize Error
- [Solved] RuntimeError: cuDNN error: CUDNN_STATUS_INTERNAL_ERROR
- [Solved] KeyCloak users check their profile error: “failed to initialize keycloak”
- RuntimeError: CUDNN_STATUS_EXECUTION_FAILED [How to Solve]
- [Solved] ssh secure shell: server responded algorithm negotiation failed
- [Solved] Tensorflow Error: failed to create cublas handle: CUBLAS_STATUS_ALLOC_FAILED