Skip to content

Commit 5962642

Browse files
committed
add install comman
1 parent 4b041be commit 5962642

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,12 @@ pip install --pre torchdata --index-url https://download.pytorch.org/whl/nightly
112112

113113
> **Note:** The nightly build of `torchdata` is required when using a PyTorch nightly. Install it from the nightly index as shown above.
114114
115+
To install `torchtitan` as a package locally (e.g. to import it from other projects) without pulling in its dependencies, run:
116+
117+
```bash
118+
pip install -e . --no-deps
119+
```
120+
115121
### Nightly builds
116122

117123
This method requires the nightly build of PyTorch. You can replace `cu130` with another version of cuda or an AMD GPU (e.g. `rocm6.3`).

0 commit comments

Comments
 (0)