AI Training - Tutorial - Run your first Tensorflow code with GPUs
Example on how to use Tensorflow library with GPUs
Example on how to use Tensorflow library with GPUs
Last updated 1st September, 2022.
This tutorial covers the process of starting a new Jupyter notebook and experiment examples on using GPUs with it.
If you want to launch it from the OVHcloud Control Panel, just follow this guide and select the Tensorflow 2
docker image.
If you want to launch it with the CLI
, just choose the number of GPUs (<nb-gpus>
) to use on jour job and use the following command:
ovhai job run ovhcom/ai-training-tensorflow:2.3.0 --gpu <nb-gpus>
You can then reach your notebook's URL once the job is Running
.
The GitHub repository containing all examples for OVHcloud AI TRAINING
is available here.
Inside your notebook, open a new Terminal
tab by clicking File
> New
> Terminal
.
Run the following command in the notebook's terminal to clone the repository:
git clone https://github.com/ovh/ai-training-examples.git
We currently provide the following tutorials for Tensorflow as ipython notebooks
:
notebooks/tensorflow/tuto/basic_gpu_cpu_benchmark.ipynb
notebooks/tensorflow/tuto/multiple_gpus_computation.ipynb.ipynb
The aim of this tutorial is to do a very simple tensor computation with the Tensorflow
library and to compare performances of running it over CPU versus GPU.
A preview of this notebook can be found on GitHub here.
The aim of this tutorial is to do a very simple tensor computation with the Tensorflow
library and to compare performances of running it over CPU versus GPU.
A preview of this notebook can be found on GitHub here.
Please send us your questions, feedback and suggestions to improve the service:
Zachęcamy do przesyłania sugestii, które pomogą nam ulepszyć naszą dokumentację.
Obrazy, zawartość, struktura - podziel się swoim pomysłem, my dołożymy wszelkich starań, aby wprowadzić ulepszenia.
Zgłoszenie przesłane za pomocą tego formularza nie zostanie obsłużone. Skorzystaj z formularza "Utwórz zgłoszenie" .
Dziękujemy. Twoja opinia jest dla nas bardzo cenna.
Dostęp do OVHcloud Community Przesyłaj pytania, zdobywaj informacje, publikuj treści i kontaktuj się z innymi użytkownikami OVHcloud Community.
Porozmawiaj ze społecznością OVHcloud