AI Training - Tutoriel - Se connecter à VS Code à distance (EN)
Comment configurer VS Code pour utiliser AI Training à distance
Comment configurer VS Code pour utiliser AI Training à distance
Last updated 1st September, 2022.
This tutorial covers the process of starting a job using a Visual Studio Code Remote via SSH.
The deployed image needs to contain the bash
binary and a glibc-based Linux (Ubuntu / Debian)
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:
ovhai job run --gpu <nb-gpus> -s ~/.ssh/id_ed25519.pub ovhcom/ai-training-tensorflow:2.3.0
Once the job is Running
, you can see the sshUrl
with job get:
ovhai job get <job-id>
Verify you can connect to the SSH host by running the following command from a terminal / PowerShell window replacing user\@hostname accordingly:
ssh <job-id>@gra.training.ai.cloud.ovh.net
Welcome to OVHcloud AI Training Jobs SSH
job-0d916855-1cd4-4b66-8803-b4782bc13902:~$
Click on the Remote Explorer Button.
Then click on the +
button to add a SSH server.
Then click on the window icon near your server in the list.
Enjoy.
Please send us your questions, feedback and suggestions to improve the service:
N’hésitez pas à nous proposer des suggestions d’amélioration afin de faire évoluer cette documentation.
Images, contenu, structure… N’hésitez pas à nous dire pourquoi afin de la faire évoluer ensemble !
Vos demandes d’assistance ne seront pas traitées par ce formulaire. Pour cela, utilisez le formulaire "Créer un ticket" .
Merci beaucoup pour votre aide ! Vos retours seront étudiés au plus vite par nos équipes..
Accedez à votre espace communautaire. Posez des questions, recherchez des informations, publiez du contenu et interagissez avec d’autres membres d'OVHcloud Community.
Echanger sur OVHcloud Community