wandb job create
2 minute read
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
| Option | Description | 
|---|---|
-p, --project | 
          The project you want to list jobs from. | 
-e, --entity | 
          The entity the jobs belong to | 
-n, --name | 
          Name for the job | 
-d, --description | 
          Description for the job | 
-a, --alias | 
          Alias for the job | 
--entry-point | 
          Entrypoint 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-hash | 
          Commit reference to use as the source for git jobs | 
-r, --runtime | 
          Python runtime to execute the job | 
-b, --build-context | 
          Path 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-image | 
          Base image to use for the job. Incompatible with image jobs. | 
--dockerfile | 
          Path to the Dockerfile for the job. If –build- context is provided, the Dockerfile path will be relative to the build context. | 
Feedback
Was this page helpful?
Glad to hear it! If you have further feedback, please let us know.
Sorry to hear that. Please tell us how we can improve.