相关疑难解决方法(0)

禁用Tensorflow调试信息

通过调试信息,我的意思是TensorFlow在我的终端中显示有关加载的库和找到的设备等,而不是python错误.

I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcublas.so locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcudnn.so locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcufft.so locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcurand.so locally
I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:900] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
I tensorflow/core/common_runtime/gpu/gpu_init.cc:102] Found device 0 with properties: 
name: Graphics Device
major: 5 minor: …
Run Code Online (Sandbox Code Playgroud)

python tensorflow

131
推荐指数
9
解决办法
9万
查看次数

此 TensorFlow 二进制文件使用 oneAPI 深度神经网络库 (oneDNN) 进行了优化,以在性能关键的情况下使用以下 CPU 指令

我有以下代码:

import tensorflow as tf

print("Hello")
Run Code Online (Sandbox Code Playgroud)

输出是:

This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
Hello # This is printed about 5 seconds after the message
Run Code Online (Sandbox Code Playgroud)

我已经研究了这个线程和这个线程中消息的含义,但未能使其消失(并且无法在 5 秒内运行任何程序)。任何帮助将不胜感激。

python tensorflow

6
推荐指数
1
解决办法
2万
查看次数

标签 统计

python ×2

tensorflow ×2