Skip to content

WIP Removing references to installing PyTorch via Conda #3349

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 34 commits into
base: main
Choose a base branch
from

Conversation

AlannaBurke
Copy link
Contributor

Fixes pytorch/pytorch#149551

(My editor deleted the trailing white space - I was trying to keep all of that out of this PR, but it would be harder to change it back at this point).

svekars and others added 30 commits April 29, 2025 14:13
@AlannaBurke AlannaBurke requested review from svekars and atalman May 1, 2025 18:57
Copy link

pytorch-bot bot commented May 1, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/tutorials/3349

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 9d24377 with merge base fd981a5 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@@ -190,6 +190,8 @@ Environment setup
We need an installation of PyTorch and OpenCV. The easiest and most platform
independent way to get both is to via Conda::

.. these need to be updated
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs an update

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change to pip install

@@ -523,6 +523,7 @@ for an available MPI implementation. The following steps install the MPI
backend, by installing PyTorch `from
source <https://github.com/pytorch/pytorch#from-source>`__.

.. needs an update
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs an update

.. code-block:: sh

conda install pytorch torchvision captum flask-compress matplotlib=3.3.4 -c pytorch
To install Captum, use the appropriate command for your environment below:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
To install Captum, use the appropriate command for your environment below:
To install Captum, run the command below:


conda install pytorch torchvision -c pytorch
conda install matplotlib tensorboard

With ``pip``:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should remove this line too.

Suggested change
With ``pip``:

@svekars svekars added the skip-link-check Will allow you to skip linkcheck on a PR. Should only should be used when a link can't be fixed. label May 2, 2025
svekars and others added 3 commits May 2, 2025 11:05

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
…ve-conda
@AlannaBurke AlannaBurke changed the title Removing references to installing PyTorch via Conda WIP Removing references to installing PyTorch via Conda May 6, 2025
@@ -190,6 +190,8 @@ Environment setup
We need an installation of PyTorch and OpenCV. The easiest and most platform
independent way to get both is to via Conda::

.. these need to be updated

conda install -c pytorch pytorch
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
conda install -c pytorch pytorch
pip install torch

@@ -11,7 +11,7 @@ PyTorch Version in Google Colab
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Wen you are running a tutorial that requires a version of PyTorch that has
just been released, that version might not be yet available in Google Colab.
jst been released, that version might not be yet available in Google Colab.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
jst been released, that version might not be yet available in Google Colab.
just been released, that version might not be yet available in Google Colab.

@@ -27,7 +27,7 @@ Using Tutorial Data from Google Drive in Colab
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

We've added a new feature to tutorials that allows users to open the
notebook associated with a tutorial in Google Colab. You may need to
ntebook associated with a tutorial in Google Colab. You may need to
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
ntebook associated with a tutorial in Google Colab. You may need to
notebook associated with a tutorial in Google Colab. You may need to

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla signed skip-link-check Will allow you to skip linkcheck on a PR. Should only should be used when a link can't be fixed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove PyTorch conda installation instructions from the documentation and tutorials
3 participants