tensorflow / tensorflow/tensorboard

event files too large when TF graph contains constant data

Open
#1,252 12 comments 6 reactions 1 assignee View on GitHub

@pindinagesh is already working on this.

Since Feb 16, 2022.

core:summaries plugin:graph stat:awaiting response theme:performance
Dominant language
TypeScript
Stars
7.2k
Forks
1.7k
Avg merge
4d 22h
Merged PRs (30d)
1

Description

TB 1.8.0
OS: any
Python version: any

Tensorboard event file abnormally large when the TF graph contains data defined with tf.constant.
For example for MNIST the event file will be almost 1GB if the MNIST dataset is loaded with tf.constant. The mnist dataset is 50MB uncompressed.

Storing this data in the event files is never useful. In the Tensorboard interface, only small constants are visible. It is not planned to make large constant arrays visible as it would not be a useful feature. Large constant arrays should be dramatically truncated when stored in Tensorboard event files, or not stored at all.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.