question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ref: document `dvc queue` and `dvc exp` task-queuing changes

See original GitHub issue

Docs meta-issue for https://github.com/iterative/dvc/issues/7592

  • Initial documentation (command refs) will be driven by the core team.
  • Update existing exp commands/flags that get aliased/deprecated or otherwise chaged.
  • User guides/ other docs should be updated, but existing functionality is being preserved (so there is no special rush on this rn).

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

3reactions
karajan1001commented, Jun 28, 2022

I understand that by default this goes into a background process. Is there a way to start it in the foreground? Say queue start --attached

There is currently no flag for this. In the meantime you can use exp run --run-all to get the same behavior, but eventually this can be folded into a flag for queue start

queue logs -f/--follow without a task should automatically follow the currently running experiment in the future.

Please confirm the difference or overlap between this and exp remove.

When developing the queue related feature. What I realized is that queue tasks and experiment are different aspects. Although they are strongly related but are still different. tasks are more focused on execution while experiments are more focused on the result. One checkpoint task can generate dozens of experiments, and experiments can be run without using a queue worker. The difference also comes into the status/show table, we can delete a succeeded task msg and leave the experiment result (revision) untouched.

2reactions
dberenbaumcommented, Jun 16, 2022

I think we can at least start with the current help output to give an overview:

$ dvc queue --help
usage: dvc queue [-h] [-q | -v] {start,stop,status,logs,remove,kill} ...

Commands to manage experiments queue.
Documentation: <https://man.dvc.org/queue>

positional arguments:
  {start,stop,status,logs,remove,kill}
                        Use `dvc queue CMD --help` to display command-specific help.
    start               Start experiments queue workers.
    stop                Stop experiments queue workers.
    status              List the status of the queue tasks and workers.
    logs                Show output logs for a task in the experiments queue.
    remove              Remove tasks in experiments queue.
    kill                Kill tasks in experiments queue.

optional arguments:
  -h, --help            show this help message and exit
  -q, --quiet           Be quiet.
  -v, --verbose         Be verbose.
Read more comments on GitHub >

github_iconTop Results From Across the Web

queue | Data Version Control - DVC
A set of commands to manage the DVC experiments task queue: start, stop, status, ... You can use dvc exp run --queue to...
Read more >
Issues · iterative/dvc.org · GitHub
... with Code review Manage code changes Issues Plan and track work Discussions ... ref: document dvc queue and dvc exp task-queuing changes...
Read more >
conda-forge - :: Anaconda.org
7za, 9.20, LGPL, X, A file archiver with a high compression ratio ... SSH plugin for DVC. dvc-task, 0.1.8, Apache-2.0, X, Extensible task...
Read more >
DVC Experiment management workflow - git - Stack Overflow
You did everything alright. In the end, after pulling, you can see that when using dvc exp show your experiments will be there....
Read more >
US8724436B2 - Audiovisual distribution system for playing an ...
The entire contents of which are hereby incorporated by reference in this application. ... 7 is a flowchart which describes task queuing.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found