Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 93174ab

Browse files
build: Update Windows torch versions (NVIDIA#309)
1 parent d8ebeee commit 93174ab

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

requirements-dev-windows.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
--pre --extra-index-url https://download.pytorch.org/whl/nightly/cu121
2-
# torch is CPU-only on Windows, so need to specify a torch version with GPU support
3-
torch==2.1.0.dev20230828+cu121
4-
torchvision==0.16.0.dev20230828
5-
torchdata==0.7.0.dev20230828
6-
torchtext==0.16.0.dev20230828
1+
--extra-index-url https://download.pytorch.org/whl/cu121
2+
# Default torch is CPU-only on Windows, so need to specify a torch version with GPU support
3+
torch==2.1.0+cu121
4+
torchvision==0.16.0+cu121
5+
torchdata==0.7.0
6+
torchtext==0.16.0+cpu
77
tokenizers==0.13.3
88
transformers==4.31.0
99
diffusers==0.15.0

requirements-windows.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
build
2-
--pre --extra-index-url https://download.pytorch.org/whl/nightly/cu121
3-
# torch is CPU-only on Windows, so need to specify a torch version with GPU support
4-
torch==2.1.0.dev20230828+cu121
5-
torchvision==0.16.0.dev20230828
6-
torchdata==0.7.0.dev20230828
7-
torchtext==0.16.0.dev20230828
2+
--extra-index-url https://download.pytorch.org/whl/cu121
3+
# Default torch is CPU-only on Windows, so need to specify a torch version with GPU support
4+
torch==2.1.0+cu121
5+
torchvision==0.16.0+cu121
6+
torchdata==0.7.0
7+
torchtext==0.16.0+cpu
88
tokenizers==0.13.3
99
transformers==4.31.0
1010
diffusers==0.15.0

windows/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Prerequisites:
3030
- [TensorRT 9.1.0.4 for TensorRT-LLM](https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/secure/9.1.0/tars/tensorrt-9.1.0.4.windows10.x86_64.cuda-12.2.llm.beta.zip)
3131

3232
```
33-
pip install tensorrt_llm --extra-index-url https://pypi.nvidia.com --extra-index-url https://download.pytorch.org/whl/nightly/cu121
33+
pip install tensorrt_llm --extra-index-url https://pypi.nvidia.com --extra-index-url https://download.pytorch.org/whl/cu121
3434
```
3535

3636
## Detailed Setup
@@ -118,7 +118,7 @@ The above command will generate `build\tensorrt_llm-0.5.0-py3-none-any.whl`. Oth
118118

119119
To download and install the wheel, in Powershell, run:
120120
```
121-
pip install tensorrt_llm --extra-index-url https://pypi.nvidia.com --extra-index-url https://download.pytorch.org/whl/nightly/cu121
121+
pip install tensorrt_llm --extra-index-url https://pypi.nvidia.com --extra-index-url https://download.pytorch.org/whl/cu121
122122
```
123123

124124
Alternatively, if you built the wheel from source, run:

0 commit comments

Comments
 (0)