report_tensor_allocations_upon_oom and embedding_lookup together lead to memory leak #25810
Labels
comp:runtime
c++ runtime, performance issues (cpu)
stat:awaiting tensorflower
Status - Awaiting response from tensorflower
Describe the current behavior
The RunOptions report_tensor_allocations_upon_oom and embedding_lookup will lead to CPU memory leak.
This will only happen in tf 1.12, tf 1.10 didn't have this problem.
I thought
tf.gather
have almost same functionality, so I test it and it seems no problem at all.I'm not sure if #21348 is related to this problem. My problem will only occur with runoptions.
Code to reproduce the issue
The code above leaks cpu memory quite rapidly ~3 Mb/s.
System information
The text was updated successfully, but these errors were encountered: