Skip to content

Revise the clone instruction in CONTRIBUTING.md for creating PRs #9076

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

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,23 @@ using either VS Code or a local container:
instructions assume you are using a remote host and are connecting to it over
SSH.

* Clone PyTorch, TorchVision, and PyTorch/XLA into your workspace directory:
* Clone PyTorch and TorchVision into your workspace directory:

```bash
git clone --recursive --depth=1 https://github.com/pytorch/pytorch.git

# Install TorchVision if you need to run tests that involve vision modules
git clone --recursive --depth=1 https://github.com/pytorch/vision.git
```

* Fork PyTorch/XLA and clone into your workspace directory:
```bash

# Clone with HTTPS if you use a GitHub personal access token
git clone https://github.com/pytorch/xla.git pytorch/xla
git clone https://<Path/To/Your/Forked/Repo> pytorch/xla

# Or clone with SSH if you prefer:
git clone [email protected]:pytorch/xla.git pytorch/xla
git clone [email protected]:<Path/To/Your/Forked/Repo> pytorch/xla
```

* Create links to VS Code configuration files in your workspace directory:
Expand Down