Hi,
I post my ovh ai cheat sheet for lanching a simple Job.
- Display job
ovhai job list
- Display logs
ovhai job logs {id}
- Run Job With env var
ovhai job run {images}
- Run Job With env var
ovhai job run -e {my_env_var} -e {my_second_en_var} {images}
- Run Job With cmd
ovhai job run {images} -- echo "Hello ! "
- Run Job With multiples cmd
ovhai job run {images} -- bash -c 'echo "Hello" && echo "World ! "'
- Run Job With one GPU
ovhai job run --gpu 1 {images}
- Run Job With monitoring port
ovhai job run -p {port} {images}