Skip to content

[WB-7396] add max-jobs and launch async args#2925

Merged
stephchen merged 8 commits intomasterfrom
launch/async
Nov 23, 2021
Merged

[WB-7396] add max-jobs and launch async args#2925
stephchen merged 8 commits intomasterfrom
launch/async

Conversation

@stephchen
Copy link
Copy Markdown
Contributor

@stephchen stephchen commented Nov 15, 2021

https://wandb.atlassian.net/browse/WB-7396

Description

Adds an --async arg to wandb launch so that launch can return without waiting for the job. Also adds a --max-jobs arg to wandb launch-agent that caps the number of parallel runs on the agent, which only runs asynchronously.

Testing

added test

Release Notes

Below, please enter user-facing release notes as one or more bullet points.
If your change is not user-visible, write NO RELEASE NOTES instead, with no bullet points.

------------- BEGIN RELEASE NOTES ------------------

NO RELEASE NOTES

------------- END RELEASE NOTES --------------------

@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 15, 2021

Codecov Report

Merging #2925 (022175f) into master (2fd537b) will increase coverage by 0.04%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2925      +/-   ##
==========================================
+ Coverage   78.67%   78.71%   +0.04%     
==========================================
  Files         194      194              
  Lines       26549    26553       +4     
==========================================
+ Hits        20887    20902      +15     
+ Misses       5662     5651      -11     
Flag Coverage Δ
functest 56.17% <33.33%> (+0.09%) ⬆️
unittest 70.53% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
wandb/cli/cli.py 65.93% <100.00%> (+0.13%) ⬆️
wandb/sdk/launch/agent/agent.py 91.86% <100.00%> (ø)
wandb/sdk/launch/launch.py 80.39% <100.00%> (ø)
wandb/sdk/lib/git.py 75.86% <0.00%> (ø)
wandb/sdk/internal/sender.py 92.05% <0.00%> (+0.13%) ⬆️
wandb/sdk/wandb_run.py 87.76% <0.00%> (+0.26%) ⬆️
wandb/filesync/step_prepare.py 94.28% <0.00%> (+1.42%) ⬆️
wandb/sdk/internal/meta.py 90.18% <0.00%> (+3.06%) ⬆️

Copy link
Copy Markdown
Contributor

@vanpelt vanpelt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😎

@stephchen stephchen merged commit 6a192b9 into master Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants