tensorflow / tensorboard

TensorFlow's Visualization Toolkit
Apache License 2.0
6.66k stars 1.65k forks source link

Mechanism for persistent user settings #4000

Open manivaradarajan opened 4 years ago

manivaradarajan commented 4 years ago

As mentioned in #893 (e.g., in this comment, https://github.com/tensorflow/tensorboard/issues/893#issuecomment-668712228), we need a mechanism for persisting user settings / preferences.

I'm capturing some items / ideas here that should be put into a RFC / requirements doc.

Based on above considerations, schema/mechanism of the backend will change (simple KV pair or relational structure)

stephanwlee commented 3 years ago

We have made some progress in this bug. Now we use LocalStorage (not a panacea--if you want per-experiment settings like run selection, LocalStorage cannot scale to N-number of experiments; we can consider having some kind of LRU scheme but there could be a one logdir with many runs that can exhaust the size limit of LocalStorage) for persisting global settings like soothing, ignore outlier, reload, etc...

Until we have more bulletproof solution for "Experiment specific preference", we can keep this issue opened.