Skip to content

Commit

Permalink
stop setting PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION env var (tensorfl…
Browse files Browse the repository at this point in the history
  • Loading branch information
nfelt committed Feb 25, 2019
1 parent 8a12897 commit 1213e51
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tensorboard/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@
# https://github.com/tensorflow/tensorboard/issues/1225
# This must be set before the first import of tensorflow.
os.environ['GCS_READ_CACHE_DISABLED'] = '1'

# Use fast C++ implementation of Python protocol buffers. See:
# https://github.com/protocolbuffers/protobuf/blob/v3.6.0/python/google/protobuf/pyext/README
os.environ['PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION'] = 'cpp'
os.environ['PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION_VERSION'] = '2'
# pylint: enable=g-import-not-at-top

import sys
Expand Down

0 comments on commit 1213e51

Please sign in to comment.