It is a compiler issue, and it can be the result of an incompatible GPU or a problem in driver installation.
Ensure that you have the correct versions of CUDA and cuDNN installed and that they are compatible with your TensorFlow version.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
2023-05-18 03:46:51.028547: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.2023-05-18 03:46:51.905585: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorR
I run into this error every time I try to import TensorFlow and when I run the model I get errors like this.
2023-05-18 03:47:15.694174: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at xla_ops.cc:362 : INTERNAL: RET_CHECK failure (tensorflow/compiler/xla/service/gpu/gpu_compiler.cc:618) dnn != nullptr
It is a compiler issue, and it can be the result of an incompatible GPU or a problem in driver installation.
Ensure that you have the correct versions of CUDA and cuDNN installed and that they are compatible with your TensorFlow version.
@ns To add to the below answer, I think you are using a compute instance that is only CPU enabled. Try using a GPU enabled compute instance and try the same scenario to install and import tensorflow. Thanks!!