首页 > 其他分享 >运行tensorflow出现This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN)

运行tensorflow出现This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN)

时间:2022-11-28 17:02:32浏览次数:63  
标签:binary oneDNN Network Library tensorflow TensorFlow intel

This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  
AVX AVX2 
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.

环境中安装的tensorflow在编译时没有正确设置旗标(compiler flag),导致tensorflow不能利用AVX AVX2指令集

可以通过重新安装intel提供的tensorflow-intel解决
pip install tensorflow-intel
注意调整keras到对应版本

具体可见:
tensorflow-intel

标签:binary,oneDNN,Network,Library,tensorflow,TensorFlow,intel
From: https://www.cnblogs.com/Zhengsm/p/16932634.html

相关文章