1

想在 N5015 小主机上部署一个 Tensorflow 的项目,没想到这个 CPU 不支持 AVX 指令集

 11 months ago
source link: https://www.v2ex.com/t/945424
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

V2EX  ›  TensorFlow

想在 N5015 小主机上部署一个 Tensorflow 的项目,没想到这个 CPU 不支持 AVX 指令集

  koala9527 · 8 小时 27 分钟前 · 536 次点击

排查了好半天 打了十几个镜像测试问题,容器一运行就启动失败,在云服务器,自己的 Win10 电脑完美运行, 容器的状态是:

Restarting (132) 27 seconds ago

docker log 也没有看到容器日志

搜索了一下这个报错发现是 AVX 指令集的问题 官方文档说明:从 TensorFlow 1.6 开始,二进制文件使用 AVX 指令,这些指令可能无法在旧版 CPU 上运行。

看了一些这个机器的是否包含 AVX 指令集

sudo cat /proc/cpuinfo | grep avx

结果真的没有

第一遇到这个坑,分享一下,问下 V 友们是否是无解的问题呀?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK