tensorflow: Error: ...tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
System information Ubuntu 18.04 (bionic); g++ (Ubuntu 7.3.0-16ubuntu3) 7.3.0; bazel release 0.18.1 Python 2.7.15rc1
- CUDA/cuDNN version: none
- GPU model and memory: none tf_env.txt
Current behavior
I’ve built TensorFlow from commit
git log -1
commit a6d8ffae097d0132989ae4688d224121ec6d8f35 (HEAD, tag: v1.12.0, origin/r1.12)
Author: Todd Wang <toddwang@gmail.com>
Date: Thu Nov 1 18:35:10 2018 -0700
Fix a bug in tpu.py and xla.py that while creating an identity node for control input edges under rewrite context, the parent control flow context is lost. (#23446) PiperOrigin-RevId: 219724472
with command line
bazel build --config=mkl -c opt --copt=-mavx --copt=-mavx2 //tensorflow/tools/pip_package:build_pip_package
and got the error, repeatedly appearing in terminal:
E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
while attempting to run the example Text generation using a RNN with eager execution.
Also can be reproduced with the package, installed with pip install https://storage.googleapis.com/intel-optimized-tensorflow/tensorflow-1.11.0-cp27-cp27mu-linux_x86_64.whl .
Expected behavior Running without error messages.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 8
- Comments: 16 (1 by maintainers)
the same issue tensorflow 1.13.1 cpu