lep job
Manages Lepton Jobs.
Jobs is an experimental feature. More details will be added soon.
Usage
lep job [OPTIONS] COMMAND [ARGS]...
Options
--help
: Show this message and exit.
Commands
create
: Creates a job.get
: Gets the job with the given name.list
: Lists all jobs in the current workspace.remove
: Removes the job with the given name.
lep job create
Creates a job.
Usage
lep job create [OPTIONS]
Options
-n
,--name TEXT
: Job name [required]-f
,--file TEXT
: If specified, load the job spec from the file. Any explicitly passed in arg will update the spec based on the file.--resource-shape TEXT
: Resource shape for the deployment. Available types are: 'cpu.small', 'cpu.medium', 'cpu.large', 'gpu.t4', 'gpu.a10'.--completions INTEGER
: Completion policy for the job.--parallelism INTEGER
: Parallelism for the job.--container-image TEXT
: Container image for the job.--port TEXT
: Ports to expose for the job, in the format portnumber[:protocol].--command TEXT
: Command string to run for the job.--intra-job-communication BOOLEAN
: Enable intra-job communication.--help
: Show this message and exit.
lep job list
Lists all jobs in the current workspace.
Usage
lep job list [OPTIONS]
Options
--help
: Show this message and exit.
lep job get
Gets the job with the given name.
Usage
lep job get [OPTIONS]
Options
-n
,--name TEXT
: Job name [required]--help
: Show this message and exit.
lep job remove
Removes the job with the given name.
Usage
lep job remove [OPTIONS]
Options
-n
,--name TEXT
: Job name--help
: Show this message and exit.