Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mechanism for persistent user settings #4000

Open
manivaradarajan opened this issue Aug 8, 2020 · 1 comment
Open

Mechanism for persistent user settings #4000

manivaradarajan opened this issue Aug 8, 2020 · 1 comment

Comments

@manivaradarajan
Copy link
Member

As mentioned in #893 (e.g., in this comment, #893 (comment)), 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.

  • This needs to work both in regular TensorBoard and in TensorBoard.dev, etc.
  • Tiered preference system:
  • Global preferences (per user): example: smoothing
  • Experiment specific preference (when viewing this experiment, change the run color to #aaa)
  • We may want to make smoothing weight, ignore outlier experiment specific OR global (i.e., it is unclear what is more correct)
  • Shareable UI configuration (so your colleague sees exactly the same UI when you share a URL)

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

@stephanwlee
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants