Tensorflow2-gpu cannot be employed as the backend #1330
-
|
Dear developers, Python 3.8.16 | packaged by conda-forge | (default, Feb 1 2023, 15:53:35) [MSC v.1929 64 bit (AMD64)] IPython 8.12.2 -- An enhanced Interactive Python. runfile('D:/code/tensorflow学习/DeepXDE案例.py', wdir='D:/code/tensorflow学习') Compiling model... Training model... D:\environment\AIfluid\lib\site-packages\keras\initializers\initializers_v2.py:120: UserWarning: The initializer GlorotUniform is unseeded and being called multiple times, which will return identical values each time (even if the initializer is unseeded). Please update your code to provide a seed to the initializer, or avoid using the same initalizer instance more than once. File D:\environment\AIfluid\lib\site-packages\spyder_kernels\py3compat.py:356 in compat_exec File d:\code\tensorflow学习\deepxde案例.py:68 File D:\environment\AIfluid\lib\site-packages\deepxde\utils\internal.py:22 in wrapper File D:\environment\AIfluid\lib\site-packages\deepxde\model.py:632 in train File D:\environment\AIfluid\lib\site-packages\deepxde\model.py:650 in _train_sgd File D:\environment\AIfluid\lib\site-packages\deepxde\model.py:541 in _train_step File D:\environment\AIfluid\lib\site-packages\tensorflow\python\util\traceback_utils.py:153 in error_handler File D:\environment\AIfluid\lib\site-packages\tensorflow\python\eager\execute.py:54 in quick_execute InternalError: libdevice not found at ./libdevice.10.bc [Op:__inference_train_step_1114] 2023-05-24 20:55:37.934421: W tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:42] Overriding orig_value setting because the TF_FORCE_GPU_ALLOW_GROWTH environment variable is set. Original config value was 0. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
See the error above. Tensorflow is not installed correctly. Or you can disable XLA. |
Beta Was this translation helpful? Give feedback.
https://deepxde.readthedocs.io/en/stable/modules/deepxde.html#deepxde.config.disable_xla_jit