This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

wandb job

Usage

wandb job [OPTIONS] COMMAND [ARGS]...

Summary

Commands for managing and viewing W&B jobs

Options

OptionDescription

Commands

CommandDescription
createCreate a job from a source, without a wandb run.
describeDescribe a launch job.
listList jobs in a project

1 - wandb job create

Usage

wandb job create [OPTIONS] {git|code|image} PATH

Summary

Create a job from a source, without a wandb run.

Jobs can be of three types, git, code, or image.

git: A git source, with an entrypoint either in the path or provided explicitly pointing to the main python executable. code: A code path, containing a requirements.txt file. image: A docker image.

Options

OptionDescription
-p, --projectThe project you want to list jobs from.
-e, --entityThe entity the jobs belong to
-n, --nameName for the job
-d, --descriptionDescription for the job
-a, --aliasAlias for the job
--entry-pointEntrypoint to the script, including an executable and an entrypoint file. Required for code or repo jobs. If –build-context is provided, paths in the entrypoint command will be relative to the build context.
-g, --git-hashCommit reference to use as the source for git jobs
-r, --runtimePython runtime to execute the job
-b, --build-contextPath to the build context from the root of the job source code. If provided, this is used as the base path for the Dockerfile and entrypoint.
--base-imageBase image to use for the job. Incompatible with image jobs.
--dockerfilePath to the Dockerfile for the job. If –build- context is provided, the Dockerfile path will be relative to the build context.

2 - wandb job describe

Usage

wandb job describe [OPTIONS] JOB

Summary

Describe a launch job. Provide the launch job in the form of: entity/project/job-name:alias-or-version

Options

OptionDescription

3 - wandb job list

Usage

wandb job list [OPTIONS]

Summary

List jobs in a project

Options

OptionDescription
-p, --projectThe project you want to list jobs from.
-e, --entityThe entity the jobs belong to