aimhubio / aim

Aim 💫 — An easy-to-use & supercharged open-source experiment tracker.
https://aimstack.io
Apache License 2.0
5.2k stars 320 forks source link

Control knobs for sending commands back to the running job / controlling live variables from the dashboard #2482

Open turian opened 1 year ago

turian commented 1 year ago

🚀 Feature

There should be a way to attach variables to the logger, that you can modify live from from controls in the dashboard.

Motivation

When you have a running job and are monitoring the progress, you sometimes want to adjust the learning rate or other hyperparameter (should we switch to fine-tuning mode, etc.).

Pitch

This is a bit of a unspoken black-magic deep learning technique. However, if you read papers from Meta, etc. or talk to hardcore old-school practitioners, they have these super long-running difficult optimization problems, and say something like: "Well we trained the generator for X thousand epochs, then we enabled the discriminator, then Y thousand epochs later we dropped the learning rate, etc." This is ideally done by monitoring a live, running job and modifying the variables in situ.

Alternatives

Additional context

I'm not aware of any logging library that does this. So it would make great blog posts to show off and attract more users.

gorarakelyan commented 1 year ago

@turian Thanks for the awesome suggestion! We totally got it on our plans. Right now we're laying down the foundation that will enable it to be implemented. I will share the progress here.