Skip to content

WIP Removing references to installing PyTorch via Conda#3349

Closed
AlannaBurke wants to merge 35 commits intomainfrom
remove-conda
Closed

WIP Removing references to installing PyTorch via Conda#3349
AlannaBurke wants to merge 35 commits intomainfrom
remove-conda

Conversation

@AlannaBurke
Copy link
Copy Markdown
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).

@AlannaBurke AlannaBurke requested review from atalman and svekars May 1, 2025 18:57
@pytorch-bot
Copy link
Copy Markdown

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 79998f5 with merge base 8476a99 (image):
💚 Looks good so far! There are no failures yet. 💚

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

Comment thread advanced_source/sharding.rst
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
Copy Markdown
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
Copy Markdown
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

backend, by installing PyTorch `from
source <https://github.com/pytorch/pytorch#from-source>`__.

.. needs an update
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
@AlannaBurke AlannaBurke changed the title Removing references to installing PyTorch via Conda WIP Removing references to installing PyTorch via Conda May 6, 2025

.. these need to be updated

conda install -c pytorch pytorch
Copy link
Copy Markdown
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

Comment thread beginner_source/colab.rst

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
Copy Markdown
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.

Comment thread beginner_source/colab.rst

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
Copy Markdown
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

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Sep 8, 2025

Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as stale.
Feel free to remove the stale label if you feel this was a mistake.
If you are unable to remove the stale label please contact a maintainer in order to do so.
If you want the bot to never mark this PR stale again, add the no-stale label.
stale pull requests will automatically be closed after 30 days of inactivity.

@github-actions github-actions Bot added the stale Stale PRs label Sep 8, 2025
@github-actions github-actions Bot closed this Oct 9, 2025
@AlannaBurke AlannaBurke deleted the remove-conda branch December 18, 2025 21:57
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. stale Stale PRs

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