Skip to content

Commit 1b6630e

Browse files
authored
Update CONTRIBUTING.md (#9030)
Co-authored-by: Haifeng Jin <[email protected]>
1 parent 50ec9a6 commit 1b6630e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

CONTRIBUTING.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,11 @@ using either VS Code or a local container:
7575
TorchVision, and PyTorch/XLA:
7676

7777
```bash
78-
cd pytorch
78+
# Uninstall any existing torch torch-xla torchvision installation
79+
# Run multiple times if needed
80+
pip uninstall torch torch-xla torchvision libtpu-nightly
7981
# pytorch/xla requires pytorch wheel to be presented under pytorch/dist
82+
cd pytorch
8083
python setup.py bdist_wheel
8184
python setup.py install
8285
cd ../vision

0 commit comments

Comments
 (0)