Skip to content

Commit baae232

Browse files
[Small fix] Update CUDA version in README (pytorch#2242)
Co-authored-by: JessicaZhong <[email protected]>
1 parent e420bc0 commit baae232

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/gpu_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
run: python -m pip install --upgrade pip
4747
- name: Install torch nightly
4848
if: ${{ matrix.torch-version == 'nightly' }}
49-
run: python -m pip install --pre torch torchvision torchao --index-url https://download.pytorch.org/whl/nightly/cu121
49+
run: python -m pip install --pre torch torchvision torchao --index-url https://download.pytorch.org/whl/nightly/cu126
5050
- name: Install torch stable
5151
if: ${{ matrix.torch-version == 'stable' }}
5252
run: python -m pip install torch torchvision torchao

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ pip install torchtune
170170

171171
```bash
172172
# Install PyTorch, torchvision, torchao nightlies
173-
pip install --pre --upgrade torch torchvision torchao --index-url https://download.pytorch.org/whl/nightly/cu121 # full options are cpu/cu118/cu121/cu124
173+
pip install --pre --upgrade torch torchvision torchao --index-url https://download.pytorch.org/whl/nightly/cu126 # full options are cpu/cu118/cu121/cu124/cu126
174174
pip install --pre --upgrade torchtune --extra-index-url https://download.pytorch.org/whl/nightly/cpu
175175
```
176176

docs/source/install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ nightly versions with the following commands:
1919
pip install torch torchvision torchao
2020
2121
# Or nightly install for latest features
22-
pip install --pre torch torchvision torchao --index-url https://download.pytorch.org/whl/nightly/cu121 # full options are cpu/cu118/cu121/cu124
22+
pip install --pre torch torchvision torchao --index-url https://download.pytorch.org/whl/nightly/cu126 # full options are cpu/cu118/cu121/cu124/cu126
2323
2424
2525
Install via PyPI

0 commit comments

Comments
 (0)