Serving: WARNING: Config values are not defined in any .rc file: opt

Created on 12 Jul 2017  路  1Comment  路  Source: tensorflow/serving

After I compiled the codes, I got some warnings like this:

W tensorflow/core/platform/cpu_feature_guard.cc:95] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:95] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.

So I used --config=opt with bazel. However I got this warning, which seems that opt doesn't make sense.

WARNING: Config values are not defined in any .rc file: opt

Most helpful comment

Use "-c opt" instead of "--config=opt". (I'm not sure why they aren't treated as equivalent but with the former I don't get that warning.)

>All comments

Use "-c opt" instead of "--config=opt". (I'm not sure why they aren't treated as equivalent but with the former I don't get that warning.)

Was this page helpful?
0 / 5 - 0 ratings