Docker images with architecture optimisation?

拥有回忆 提交于 2019-12-05 17:30:39

No, I think you're pretty much right.

The image you link to is an automated build, so OpenBlas will be getting compiled using the kernel and architecture of the Docker build server. I did notice the build script sets the following flags when building OpenBlas:

DYNAMIC_ARCH=1 NO_AFFINITY=1 NUM_THREADS=32

Which presumably makes the install portable at a performance cost. An alternative would be to have a separate image for various build configurations.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!