Skip to content

Commit c8f9bd5

Browse files
mergennachinfacebook-github-bot
authored andcommitted
Minor fix 2: Update pip install torch doc
Summary: --force-reinstall does the job Reviewed By: angelayi Differential Revision: D47910741 fbshipit-source-id: 24e5890e1ee595f53a968bcc8b6f611352ca85c5
1 parent 43aa01b commit c8f9bd5

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

docs/website/docs/tutorials/00_setting_up_executorch.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ conda install -c conda-forge flatbuffers
2222
# Install the nightly builds
2323
# Note: if you are behind a firewall an appropriate proxy server must be setup
2424
# for all subsequent steps.
25-
# Note: if you have pytorch installed already you will need to uninstall it first
26-
pip install --pre torch -i https://download.pytorch.org/whl/nightly/cpu
25+
pip install --force-reinstall --pre torch -i https://download.pytorch.org/whl/nightly/cpu
2726
```
2827

2928
**Step 2: Set up Executorch**. This will install an `executorch` pip package to your conda environment.

examples/install_requirements.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
# here it is used to install torchvision's nighlty package because the latest
1010
# variant install an older version of pytorch, 1.8,
1111
# tested only on linux
12-
pip install --pre torchvision -i https://download.pytorch.org/whl/nightly/cpu
12+
pip install --force-reinstall --pre torchvision -i https://download.pytorch.org/whl/nightly/cpu

0 commit comments

Comments
 (0)