Last updated 29th October, 2020.
This guide covers the installation of the ovhai CLI. The CLI is the recommended means of interaction with the AI Training service.
- a Public Cloud project in your OVHcloud account
- AI Training activated for your account, see how to submit a job Step 2
- a user for AI Training how to submit a job Step 3
Step 1: Downloading the CLI
First download the CLI for the AI Training cluster location of your choice with the following link:
https://cli.<region>.training.ai.cloud.ovh.net # region is the lowercase cluster location
After downloading the right zip for your platform, unzip it and add it to your
unzip ovhai-<platform>.zip mkdir -p $HOME/bin mv ovhai $HOME/bin/ovhai export PATH=$PATH:$HOME/bin/
Step 2: Authenticating
Once the ovhai CLI is installed, you need to authenticate with the AI Training service.
You have the choice between two methods to log in:
- terminal: you can authenticate yourself from within the terminal.
- browser: you will reach an authentication page similar to this:
Use the credentials of your AI Training user to log in.
Step 3: Using the command line CLI
You can use the command
ovhai --help to list available actions and
ovhai <action> --help for more information about a specific action.
The documentation of the CLI is available at CLI documentation.
In addition, when performing any action in the AI Training section of the OVHcloud Control Panel you are provided with the equivalent command to get you started with the ovhai CLI.
Please send us your questions, feedback and suggestions to improve the service:
- On the OVHcloud AI community forum
Did you find this guide useful?
Please feel free to give any suggestions in order to improve this documentation.
Whether your feedback is about images, content, or structure, please share it, so that we can improve it together.
Your support requests will not be processed via this form. To do this, please use the "Create a ticket" form.
Thank you. Your feedback has been received.