Bring back fast_cpp_protos bazel configuration and remove 64MB limit of protobufs. This speeds-up graph serialization by ~15x for users building TensorFlow from source.

Note that you can now install a faster pip binary for protobuf using the instructions
in 8ac009728d

This only affects building and running from within the bazel environment.
Change: 118374862
This commit is contained in:
Dan Smilkov 2016-03-28 10:14:38 -08:00 committed by TensorFlower Gardener
parent d95fa1bb15
commit e57fc75f4f

View File

@ -3,6 +3,8 @@ build:cuda --define=using_cuda=true
build --force_python=py$PYTHON_MAJOR_VERSION build --force_python=py$PYTHON_MAJOR_VERSION
build --python$PYTHON_MAJOR_VERSION_path=$PYTHON_BINARY build --python$PYTHON_MAJOR_VERSION_path=$PYTHON_BINARY
build --define=use_fast_cpp_protos=true
build --define=allow_oversize_protos=true
build --spawn_strategy=standalone build --spawn_strategy=standalone
test --spawn_strategy=standalone test --spawn_strategy=standalone