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:
parent
d95fa1bb15
commit
e57fc75f4f
@ -3,6 +3,8 @@ build:cuda --define=using_cuda=true
|
||||
|
||||
build --force_python=py$PYTHON_MAJOR_VERSION
|
||||
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
|
||||
test --spawn_strategy=standalone
|
||||
|
Loading…
Reference in New Issue
Block a user