neuro job submit

Submit an image to run on the cluster

Usage #

neuro job submit [OPTIONS] IMAGE [CMD]...

Submit an image to run on the cluster.

IMAGE container image name.

CMD list will be passed as commands to model container.

Examples #

# Starts a container pytorch:latest with two paths mounted. Directory /q1/ # is mounted in read only mode to /qm directory within container. # Directory /mod mounted to /mod directory in read-write mode. $ neuro submit --volume storage:/q1:/qm:ro --volume storage:/mod:/mod:rw pytorch:latest # Starts a container using the custom image my-ubuntu:latest stored in neuromation # registry, run / and pass arg1 arg2 arg3 as its arguments: $ neuro submit image://~/my-ubuntu:latest --entrypoint=/ arg1 arg2 arg3

Options #

-g, --gpu NUMBERNumber of GPUs to request [default: 0]
--gpu-model MODELGPU to use [default: nvidia-tesla-k80]
-c, --cpu NUMBERNumber of CPUs to request [default: 0.1]
-m, --memory AMOUNTMemory amount to request [default: 1G]
-x, --extshm / -X, --no-extshmRequest extended '/dev/shm' space [default: True]
--http PORTEnable HTTP port forwarding to container
--http-auth / --no-http-authEnable HTTP authentication for forwarded HTTP port [default: True]
-p, --preemptible / -P, --non-preemptibleRun job on a lower-cost preemptible instance [default: False]
-n, --name NAMEOptional job name
-d, --description DESCOptional job description in free format
-q, --quietRun command in quiet mode (DEPRECATED)
-v, --volume MOUNTMounts 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
--entrypoint TEXTExecutable entrypoint in the container (note that it overwrites ENTRYPOINT and CMD instructions of the docker image)
-e, --env VAR=VALSet environment variable in container Use multiple options to define more than one variable
--env-file PATHFile with environment variables to pass
--wait-start / --no-wait-startWait for a job start or failure [default: True]
--pass-config / --no-pass-configUpload neuro config to the job [default: False]
--browseOpen a job's URL in a web browser
--detachDon't attach to job logs and don't wait for exit code
--helpShow this message and exit.