Skip to content

Commit 5a38980

Browse files
HolyWugs-olive
authored andcommitted
Temporarily install torch in test index
1 parent 1848388 commit 5a38980

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.github/scripts/install-torch-tensorrt-windows.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
set -eou pipefail
22
source "${BUILD_ENV_FILE}"
3-
${CONDA_RUN} ${PIP_INSTALL_TORCH} torchvision
3+
# ${CONDA_RUN} ${PIP_INSTALL_TORCH} torchvision
4+
${CONDA_RUN} pip install torch torchvision --index-url https://download.pytorch.org/whl/test/cu121
45
${CONDA_RUN} pip install pyyaml mpmath==1.3.0
56
${CONDA_RUN} pip install tensorrt==10.0.0b6 tensorrt-cu12-bindings==10.0.0b6 tensorrt-cu12-libs==10.0.0b6 --extra-index-url https://pypi.nvidia.com
67
${CONDA_RUN} pip install ${RUNNER_ARTIFACT_DIR}/torch_tensorrt*.whl

.github/workflows/build-test-windows.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ name: Build and test Windows wheels
22

33
on: [pull_request]
44

5-
env:
6-
CHANNEL: test
7-
85
jobs:
96
generate-matrix:
107
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main

packaging/pre_build_script_windows.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
python -m pip install -U numpy packaging pyyaml setuptools wheel
2+
python -m pip install torch==2.3.0 --index-url https://download.pytorch.org/whl/test/cu121
23
python -m pip install tensorrt==10.0.0b6 tensorrt-cu12-bindings==10.0.0b6 tensorrt-cu12-libs==10.0.0b6 --extra-index-url https://pypi.nvidia.com
34

45
choco install bazelisk -y

0 commit comments

Comments
 (0)