Skip to content

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 8 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).

@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.

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

✅ No Failures

As of commit 19319ae 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.

@@ -14,9 +14,10 @@ Requirements: - python >= 3.7
We highly recommend CUDA when using torchRec. If using CUDA: - cuda >=
11.0

.. Should these 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.

Does this need to be updated?

Copy link
Contributor

Choose a reason for hiding this comment

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

lines 26-29 need to be removed.

@@ -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
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