-
Notifications
You must be signed in to change notification settings - Fork 29
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
Plots from temporary experiments are first updated when finished #3436
Comments
Hi @ostromann, Thanks for raising the issue. There is a limitation in that DVC does not collect metrics for experiments running outside of the workspace (unless they are checkpoint based). This is being actively worked on at iterative/dvc#8478. We have #3178 in this repo for the subsequent work needed. By any chance are you using DVCLive to log metrics? |
Thanks! |
Ok, as a temporary workaround, you can get live updates by connecting to Studio, switching from Docs are here. Hope this helps. LMK if you get stuck. Note: I think if you start Plug |
Unfortunately, I'm running experiments on a company-owned GPU server that doesn't have direct internet connection. Also, our repos are on an enterprise GitLab. As far as I understand, that rules out DVC Studio for me, right now. We log separately to MLFlow, so that satisfies a workaround for us right now. Would be nice to only use DVC Live in the long run, though :) 👍 |
There is an on-prem option for Studio (it's paid, but just in case your org can consider this). In no way saying we are not fixing this, we are working on this, it's prioritized. |
@dberenbaum this issue is why we want to prioritise live plot updates for experiments running in the queue/temp directories. Collecting data for the separate queue/temp revisions would be problematic for the reasons mentioned in #3676. We would have to re-implement the "merging" logic, from DVC in the extension, make separate CLI calls, cache data etc. This would be a significant effort in the extension and IMO less valuable than implementing the ability to call plots diff with these revisions in DVC. I'd be happy to implement it on the DVC side if we decide it would be the best way forwards. LMK what you think, 🙏🏻. Edit: rereading the above I see that I already mentioned iterative/dvc#8478 I'll make a similar comment in that issue as that is probably a better place to discuss. |
Can we decide how it should work in #3676? |
Hi @ostromann, I realise it has been a long time since we gave you an update on progress. The good news is that the changes required to get live updates for plots running outside of the workspace were released with DVC Thanks for your patience. |
If you start a temporary experiment by using
dvc exp run --temp
, the plots will show the metrics of the last completed experiment in the workspace instead of the current temporary experiment.When the temporary experiment finishes, it disappears from the plots and needs to be re-added, showing the actual metrics then.
It would be good to see the metrics of currently running temporary experiments in realtime in the Plots section.
The text was updated successfully, but these errors were encountered: