diff options
author | 2018-08-28 19:03:56 -0700 | |
---|---|---|
committer | 2018-08-28 19:12:42 -0700 | |
commit | 3d35a07179d4d38d0cabac4415c550f1cbce00c0 (patch) | |
tree | 34c06cc6339a273722f48689e7e58de88d18c0ba /tensorflow/core/protobuf/debug.proto | |
parent | 20d5683b826be03776978af3b8108fc3b5dc9cb8 (diff) |
tfdbg: Add adjustable limit to total bytes dumped to disk
RELNOTES: tfdbg: Limit the total disk space occupied by dumped tensor data to 100 GBytes. Add environment variable `TFDBG_DISK_BYTES_LIMIT` to allow adjustment of this upper limit.
PiperOrigin-RevId: 210648585
Diffstat (limited to 'tensorflow/core/protobuf/debug.proto')
-rw-r--r-- | tensorflow/core/protobuf/debug.proto | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tensorflow/core/protobuf/debug.proto b/tensorflow/core/protobuf/debug.proto index 811cf406b9..8ca76c44c0 100644 --- a/tensorflow/core/protobuf/debug.proto +++ b/tensorflow/core/protobuf/debug.proto @@ -60,6 +60,12 @@ message DebugOptions { // Note that this is distinct from the session run count and the executor // step count. int64 global_step = 10; + + // Whether the total disk usage of tfdbg is to be reset to zero + // in this Session.run call. This is used by wrappers and hooks + // such as the local CLI ones to indicate that the dumped tensors + // are cleaned up from the disk after each Session.run. + bool reset_disk_byte_usage = 11; } message DebuggedSourceFile { |