WIP Removing references to installing PyTorch via Conda#3349
WIP Removing references to installing PyTorch via Conda#3349AlannaBurke wants to merge 35 commits intomainfrom
Conversation
🔗 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 FailuresAs of commit 79998f5 with merge base 8476a99 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
| 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 |
| backend, by installing PyTorch `from | ||
| source <https://github.com/pytorch/pytorch#from-source>`__. | ||
|
|
||
| .. 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: |
There was a problem hiding this comment.
| 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``: |
There was a problem hiding this comment.
we should remove this line too.
| With ``pip``: |
|
|
||
| .. these need to be updated | ||
|
|
||
| conda install -c pytorch pytorch |
There was a problem hiding this comment.
| conda install -c pytorch pytorch | |
| pip install torch |
|
|
||
| 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. |
There was a problem hiding this comment.
| 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. |
|
|
||
| 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 |
There was a problem hiding this comment.
| ntebook associated with a tutorial in Google Colab. You may need to | |
| notebook associated with a tutorial in Google Colab. You may need to |
|
Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as |
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).