--- a/tensorflow/lite/experimental/ruy/platform.h 2019-09-27 17:56:33.000000000 -0400 +++ a/tensorflow/lite/experimental/ruy/platform.h 2019-10-18 14:34:07.872600532 -0400 @@ -53,12 +53,12 @@ // compilation. // // TODO(b/138433137) Select AVX-512 at runtime rather than via compile options. -#if defined(__AVX512F__) && defined(__AVX512DQ__) && defined(__AVX512CD__) && \ - defined(__AVX512BW__) && defined(__AVX512VL__) -#define RUY_DONOTUSEDIRECTLY_AVX512 1 -#else +//#if defined(__AVX512F__) && defined(__AVX512DQ__) && defined(__AVX512CD__) && \ +// defined(__AVX512BW__) && defined(__AVX512VL__) +//#define RUY_DONOTUSEDIRECTLY_AVX512 1 +//#else #define RUY_DONOTUSEDIRECTLY_AVX512 0 -#endif +//#endif // Detect APPLE #ifdef __APPLE__