Skip to content

Commit 130e482

Browse files
committed
add install comman
1 parent 4b041be commit 130e482

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ 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+
> **Note:** You can run directly from the source tree. If you need to import `torchtitan` as a package from elsewhere, install it in editable mode without re-resolving dependencies: `pip install -e . --no-deps`.
116+
115117
### Nightly builds
116118

117119
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)