-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 queue: implement dvc queue logs
#7860
Conversation
This isn't a blocker, but we should provide a more helpful error when trying to get the logs for an experiment still in the queue: $ dvc exp show
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ>
Experiment Created State avg_prec roc_auc prepare.split >
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ>
workspace - - 0.925 0.94602 0.2 >
10-bigrams-experiment May 19, 2022 - 0.925 0.94602 0.2 >
βββ 3911349 [exp-cb6ca] 02:48 PM - 0.91243 0.9372 0.35 >
βββ deef20c [exp-94dbd] 02:47 PM - 0.91856 0.94113 0.25 >
βββ 0f98f46 [exp-78733] 02:47 PM - 0.92968 0.95151 0.15 >
βββ 2620d5b [exp-8a4db] 02:47 PM - 0.92664 0.94595 0.05 >
βββ bdaac35 02:48 PM Queued - - 0.55 >
βββ eeca4d6 02:48 PM Queued - - 0.65 >
βββ 4e2927f 02:48 PM Queued - - 0.45 >
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ>
$ dvc queue start
Start 1 queue worker to process the queue tasks
$ dvc queue logs 4e2927f
ERROR: '4e2927f' are not valid queued experiment names |
Is there any way to indicate how to safely exit (besides in help/docs) from |
Should we remove |
Like #7591 (comment), it doesn't accept assigned experiment names for checkpoint experiments: $ dvc exp show
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ>
Experiment Created State Executor step loss accur>
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ>
workspace - Running workspace - - >
dvc May 27, 2022 - - - - >
βββ 24747fc [exp-10cc0] 03:25 PM Running temp 0 1.3277 0.7>
...
$ dvc queue logs -f exp-10cc0
ERROR: 'exp-10cc0' are not valid queued experiment names |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! We can merge without the UI fixes once we decide whether to remove dvc queue attach
.
I went ahead and removed
We now generate a better message:
When using
|
β I have followed the Contributing to DVC checklist.
π If this PR requires documentation updates, I have created a separate PR (or issue, at least) in dvc.org and linked it here.
Thank you for the contribution - we'll try to review it as soon as possible. π
Related to #7854, #7590
dvc queue logs [-f/--follow]
commanddvc queue attach