Run a job with predefined resources...
neuro run [OPTIONS] IMAGE [CMD]...
Run a job with predefined resources configuration.
IMAGE container image
CMD list will be passed as commands to model container.
# Starts a container pytorch:latest on a machine with smaller GPU resources # (see exact values in `neuro config show`) and with two volumes mounted: # storage://~ --> /var/storage/home (in read-write mode), # storage://neuromation --> /var/storage/neuromation (in read-only mode). $ neuro run --preset=gpu-small --volume=HOME pytorch:latest # Starts a container using the custom image my-ubuntu:latest stored in neuromation # registry, run /script.sh and pass arg1 and arg2 as its arguments: $ neuro run -s cpu-small image://~/my-ubuntu:latest --entrypoint=/script.sh arg1 arg2
|Predefined resource configuration (to see available values, run |
|Request extended '/dev/shm' space [default: True]|
|Enable HTTP port forwarding to container [default: 80]|
|Enable HTTP authentication for forwarded HTTP port [default: True]|
|Optional job name|
|Optional job description in free format|
|Run command in quiet mode (DEPRECATED)|
|Mounts directory from vault into container. Use multiple options to mount more than one volume. --volume=HOME is an alias for storage://~:/var/storage/home:rw and storage://neuromation:/var/storage/neuromation:ro|
|Executable entrypoint in the container (note that it overwrites |
|Set environment variable in container Use multiple options to define more than one variable|
|File with environment variables to pass|
|Wait for a job start or failure [default: True]|
|Upload neuro config to the job [default: False]|
|Open a job's URL in a web browser|
|Don't attach to job logs and don't wait for exit code|
|Show this message and exit.|