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 queue: command for managing queues #5615

Closed
iesahin opened this issue Mar 12, 2021 · 3 comments
Closed

exp queue: command for managing queues #5615

iesahin opened this issue Mar 12, 2021 · 3 comments
Assignees
Labels
A: experiments Related to dvc exp feature request Requesting a new feature p1-important Important, aka current backlog of things to do

Comments

@iesahin
Copy link

iesahin commented Mar 12, 2021

AFAICT, currently it's not possible to manage the experiment queue created by dvc exp run --queue. We can create experiments, but cannot remove them or change their order.

I'd like to have a dvc exp queue command to list, modify, save and restore queues. Experiment queues, along with the parallel jobs, seem to be an important aspect of future DVC.

dvc exp queue --add can work identically with the current dvc exp run --queue. --add may be the default command and the users may write dvc exp queue -S myparam=3 -n exp-1 python3 train.py instead of dvc exp run --queue.

dvc exp queue --list may list jobs and their state. (Run, Waiting, Error)

dvc exp queue --remove may remove a job from the waiting list.

dvc exp queue --save can save a list of commands to a file. (Think about moving experiments to another workstation.)

dvc exp queue --restore can restore such a list from a file.

I didn't check the implementation but these should be pretty straightforward to add to the experiment management.

@shcheklein shcheklein changed the title Queue management subcommand for dvc exp exp: queue management subcommand Mar 13, 2021
@pmrowla pmrowla added feature request Requesting a new feature p3-nice-to-have It should be done this or next sprint labels Mar 14, 2021
@pmrowla
Copy link
Contributor

pmrowla commented Mar 14, 2021

As you noted, work related to queuing/running/managing experiments is something we will get to in the long term, but in the short term this is p3 for now.

@dberenbaum
Copy link
Collaborator

@iesahin Can we modify the name of this issue to something more general? I can never find it when I want to 😄 .

@iesahin
Copy link
Author

iesahin commented Dec 4, 2021

You can update the title to something easier to remember :) @dberenbaum

@dberenbaum dberenbaum changed the title exp queue: starting a new experiment while another one is already running exp queue: command for managing queues Dec 4, 2021
@pmrowla pmrowla self-assigned this Jan 25, 2022
@pmrowla pmrowla added this to DVC Jan 25, 2022
@pmrowla pmrowla moved this to Backlog in DVC Jan 25, 2022
@pmrowla pmrowla moved this from Backlog to Todo in DVC Jan 25, 2022
@dberenbaum dberenbaum added p1-important Important, aka current backlog of things to do and removed p2-medium Medium priority, should be done, but less important labels Feb 23, 2022
@daavoo daavoo moved this from Todo to In Progress in DVC Apr 5, 2022
@daavoo daavoo mentioned this issue Apr 19, 2022
4 tasks
@pmrowla pmrowla moved this from In Progress to Review In Progress in DVC Jun 14, 2022
@pmrowla pmrowla closed this as completed Jul 12, 2022
Repository owner moved this from Review In Progress to Done in DVC Jul 12, 2022
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 feature request Requesting a new feature p1-important Important, aka current backlog of things to do
Projects
No open projects
Archived in project
Development

No branches or pull requests

3 participants