From 797b016b8e16d00d59f0cb7d9c8e3cd3f4b90059 Mon Sep 17 00:00:00 2001 From: Alanna Burke Date: Mon, 12 May 2025 17:48:39 -0400 Subject: [PATCH 1/2] Removing Conda references. --- docs/source/training_references.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/source/training_references.rst b/docs/source/training_references.rst index fc22ac5eba6..09091af4f18 100644 --- a/docs/source/training_references.rst +++ b/docs/source/training_references.rst @@ -21,7 +21,10 @@ In general, these scripts rely on the latest (not yet released) pytorch version or the latest torchvision version. This means that to use them, **you might need to install the latest pytorch and torchvision versions**, with e.g.:: - conda install pytorch torchvision -c pytorch-nightly + +.. code-block:: sh + pip install torch torchvision + If you need to rely on an older stable version of pytorch or torchvision, e.g. torchvision 0.10, then it's safer to use the scripts from that corresponding From 7feb790be7c239f84274d3ef082575879442515b Mon Sep 17 00:00:00 2001 From: Nicolas Hug Date: Thu, 29 May 2025 13:42:42 +0100 Subject: [PATCH 2/2] Fix instructions --- docs/source/training_references.rst | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/source/training_references.rst b/docs/source/training_references.rst index 09091af4f18..4b5e43109c2 100644 --- a/docs/source/training_references.rst +++ b/docs/source/training_references.rst @@ -19,11 +19,8 @@ guarantees. In general, these scripts rely on the latest (not yet released) pytorch version or the latest torchvision version. This means that to use them, **you might need -to install the latest pytorch and torchvision versions**, with e.g.:: - - -.. code-block:: sh - pip install torch torchvision +to install the latest pytorch and torchvision versions** following the `official +instructions `_. If you need to rely on an older stable version of pytorch or torchvision, e.g.