{"id":40,"date":"2017-10-19T21:32:03","date_gmt":"2017-10-19T18:32:03","guid":{"rendered":"http:\/\/mbrdancer.ru\/?p=40"},"modified":"2017-10-19T21:32:03","modified_gmt":"2017-10-19T18:32:03","slug":"tensorflow-compile-for-knl","status":"publish","type":"post","link":"http:\/\/mbrdancer.ru\/?p=40","title":{"rendered":"tensorflow compile for KNL"},"content":{"rendered":"<p>download Bazel from https:\/\/github.com\/bazelbuild\/bazel\/releases<br \/>\nLinux: bazel-<version>-installer-linux-x86_64.sh<br \/>\ninstall:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n# .\/bazel-0.7.0-installer-linux-x86_64.sh --user\r\n\r\n# .\/configure\r\n\r\n# TF_MKL_ROOT=\/opt\/software\/intel\/2017\/compilers_and_libraries_2017.1.132\/linux\/mkl\/lib bazel build --config=opt \/\/tensorflow\/tools\/pip_package:build_pip_package --copt=&quot;-mfma&quot; --copt=&quot;-mavx&quot; --copt=&quot;-DEIGEN_ENABLE_AVX512&quot; --ignore_unsupported_sandboxing --copt=&quot;-mavx2&quot; --copt=&quot;-fopt-info-vec-all&quot; --copt=&quot;-DEIGEN_ENABLE_AVX2&quot; --verbose_failures -j 64 --config=mkl\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>download Bazel from https:\/\/github.com\/bazelbuild\/bazel\/releases Linux: bazel&#8212;installer-linux-x86_64.sh install:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/mbrdancer.ru\/index.php?rest_route=\/wp\/v2\/posts\/40"}],"collection":[{"href":"http:\/\/mbrdancer.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/mbrdancer.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/mbrdancer.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/mbrdancer.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=40"}],"version-history":[{"count":7,"href":"http:\/\/mbrdancer.ru\/index.php?rest_route=\/wp\/v2\/posts\/40\/revisions"}],"predecessor-version":[{"id":47,"href":"http:\/\/mbrdancer.ru\/index.php?rest_route=\/wp\/v2\/posts\/40\/revisions\/47"}],"wp:attachment":[{"href":"http:\/\/mbrdancer.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=40"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/mbrdancer.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=40"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/mbrdancer.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=40"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}