wandb launch-agent <project-name>
requirements.txtfile at the root of the repo, and this
requirements.txtmust include the most recent version of
pip install --upgrade "wandb[launch]"
diff.patchfile, which captures any changes since the last git commit. If you change the git commit in your Launch configuration, this patch will not be used.
use_artifactto pull in your dataset or other input files, your data doesn't need to be local or pre-loaded to launch the run with W&B Launch.
wandblibrary version — Launch is backwards compatible.
wandb launchto relaunch a run:
wandb launch <https://wandb.ai/><username>/<project>/runs/<run_name>
queueflag when using
--queue <queuename>. Without a specified queue name (as above), runs will be added to the default queue for the project.
wandb launch-agent <project>to launch an agent.
wandb launcharguments are discussed here:
main.pyfor git repos and local directory URIs
wandb launchsupports running new runs using both git repos or local directories.
wandb launch <https://github.com/user/repo>. We require that the repo contain either a
requirements.txtconfiguration file for dependencies, and the code should be already instrumented with wandb for us to track it as normal.
wandb launch path/to/local. As with git repos, we also require a
requirements.txtfile at the root of the provided path. Queueing is not currently supported for launching from a local directory.
wandb launch -E path/to/entrypoint.py <git url|local directory>
wandb launch <uri>you can modify how the launched run behaves to be different from the original run.
-a param=val: Modify the arguments used for your script
-c, --config: Configure a newly launched run, using a file or JSON string to control the behavior of the launched run. Use the following structure in your config file to control how the launched run behaves:
wandb launch-agent --queues <queue-name> <project>
--queues q1,q2,q3. If you don't specify a queue with the
--queuesflag, the agent will run jobs from the default queue for the project.
<project>) belonging to entity (
<entity>) by using:
wandb launch --queue default https://wandb.ai/<entity>/<project>/runs/<run_id>