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

exp: save logs for workspace experiments #9079

Closed
Tracked by #9442
dberenbaum opened this issue Feb 24, 2023 · 3 comments
Closed
Tracked by #9442

exp: save logs for workspace experiments #9079

dberenbaum opened this issue Feb 24, 2023 · 3 comments
Labels
A: experiments Related to dvc exp p2-medium Medium priority, should be done, but less important product: VSCode Integration with VSCode extension

Comments

@dberenbaum
Copy link
Collaborator

We save the logs for queued experiments, but it would also be nice to have these for workspace experiments.

@dberenbaum dberenbaum added p2-medium Medium priority, should be done, but less important A: experiments Related to dvc exp labels Feb 24, 2023
@mattseddon
Copy link
Member

@dberenbaum should there be a way to grab the logs for any experiment? Similar to dvc queue logs <task> [-f]?

That would mean that the extension would be able to "Show Logs" for all experiments and it would also mean that we (either DVC or the extension) won't have to add an indicator for experiments that were processed in the queue/have accessible logs.

Related to this comment: iterative/vscode-dvc#3347 (comment)

@dberenbaum dberenbaum added the product: VSCode Integration with VSCode extension label Feb 28, 2023
@dberenbaum
Copy link
Collaborator Author

dberenbaum commented Feb 28, 2023

No, there are no logs for workspace experiments today. The output goes right to the stdout/stderr streams.

There should be logs for any queued experiment, regardless of whether they were successful.

dvc queue remove drops the logs for experiments, but the experiments remain, so it's always possible that experiments may not have logs available.

Edit: I may have misunderstood. dvc queue logs can take an experiment name, not only a queue task name. We could make this a dvc exp command instead of a dvc queue command if that's what you mean, but it currently won't have any logs for workspace experiments.

@mattseddon
Copy link
Member

We could make this a dvc exp command instead of a dvc queue command if that's what you mean

This is what I meant, sorry for the lack of clarity.

What I was suggesting:

  1. capture workspace run logs
  2. (after 1) expose all logs via a new command dvc exp logs <id>

🙏🏻

@dberenbaum dberenbaum closed this as not planned Won't fix, can't repro, duplicate, stale Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: experiments Related to dvc exp p2-medium Medium priority, should be done, but less important product: VSCode Integration with VSCode extension
Projects
None yet
Development

No branches or pull requests

2 participants