这样的输出:2023-07-21 192938180614 I tensorflowcompilerxlastream_executorcudacuda_diagnosticscc200 libcuda reported version is NOT_FOUND was unable to find libcudaso DSO loaded into this program能否看出调用GPU了吗
是的,从输出中可以看出调用了GPU。
在输出中,可以看到"tensorflow/compiler/xla/stream_executor/cuda/cuda_diagnostics.cc",这是TensorFlow中与CUDA相关的代码路径。
另外,还可以注意到输出中的"libcuda",这是CUDA的库文件。输出中显示"libcuda reported version is: NOT_FOUND: was unable to find libcuda.so DSO loaded into this program",这意味着TensorFlow无法找到正确的libcuda.so库文件,表明它正在尝试加载GPU相关的库文件。
综上所述,根据输出信息可以推断出调用了GPU。
原文地址: https://www.cveoy.top/t/topic/ie2o 著作权归作者所有。请勿转载和采集!