Simple Cheat Sheet OVH AI

victordalet

victor_dalet

Posted on October 7, 2024

Simple Cheat Sheet OVH AI

Hi,

I post my ovh ai cheat sheet for lanching a simple Job.


  • Display job
ovhai job list
Enter fullscreen mode Exit fullscreen mode
  • Display logs
ovhai job logs {id}
Enter fullscreen mode Exit fullscreen mode
  • Run Job With env var
ovhai job run  {images} 
Enter fullscreen mode Exit fullscreen mode
  • Run Job With env var
ovhai job run -e {my_env_var} -e {my_second_en_var} {images} 
Enter fullscreen mode Exit fullscreen mode
  • Run Job With cmd
ovhai job run {images} -- echo "Hello ! "
Enter fullscreen mode Exit fullscreen mode
  • Run Job With multiples cmd
ovhai job run {images} -- bash -c 'echo "Hello" && echo "World ! "'
Enter fullscreen mode Exit fullscreen mode
  • Run Job With one GPU
ovhai job run --gpu 1 {images}
Enter fullscreen mode Exit fullscreen mode
  • Run Job With monitoring port
ovhai job run -p {port} {images}
Enter fullscreen mode Exit fullscreen mode
💖 💪 🙅 🚩
victordalet
victor_dalet

Posted on October 7, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related