This tutorial covers the process of starting a job using Visual Studio Code Remote via SSH.
Requirements
- an AI Training project created inside a Public Cloud project
- a user for AI Training
- installing the OVHcloud AI CLI
NOTE: The deployed image needs to contain the bash
binary and a glibc-based Linux (Ubuntu / Debian).
Installation
- Install an OpenSSH-compatible SSH client if one is not already present.
- Install Visual Studio Code.
- Install the Remote Development extension pack.
Start a job with the SSH feature
We will launch a job with the CLI, just choose the number of GPUs (<nb-gpus>
) to use on your job and use the following command:
Once the job is Running
, you can see the sshUrl
with job get:
Configure VSCode Remote Development
Verify you can connect to the SSH host by running the following command from a terminal / PowerShell window replacing user\@hostname accordingly:
Click on the Remote Explorer Button.
Then click on the +
button to add an SSH server.
Then click on the window icon near your server in the list.
Enjoy.
Go further
- You can compare AI models based on resource consumption, accuracy, and training time. Refer to this tutorial.
For more information and tutorials, please see our other AI & Machine Learning support guides or explore the guides for other OVHcloud products and services.
If you need training or technical assistance to implement our solutions, contact your sales representative or click on this link to get a quote and ask our Professional Services experts for a custom analysis of your project.