Aller au contenu
Editer cette page

torch

PyTorch est une bibliothèque Python d'apprentissage profond, capable d'exploiter les GPU NVIDIA via CUDA.

Cas d'utilisation

  • Entraînement et exécution de réseaux de neurones sur GPU

Installation

  • Créer un environnement "torch"
conda create --name torch 
conda activate torch
  • Installer pytorch avec CUDA

pytorch.org - Get Started - Start Locally

conda install pytorch torchvision torchaudio pytorch-cuda=12.4 -c pytorch -c nvidia