Skip to content

Commit dc23229

Browse files
committed
WORKSPACE
1 parent d872c20 commit dc23229

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

.github/workflows/build-test.yml

+12-12
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
package-type: wheel
2121
os: linux
2222
test-infra-repository: pytorch/test-infra
23-
test-infra-ref: 7af3f97894a6c372555fd60520807bbf0868d8d2
23+
test-infra-ref: main
2424
with-rocm: false
2525
with-cpu: false
2626

@@ -37,12 +37,12 @@ jobs:
3737
smoke-test-script: ""
3838
package-name: torch_tensorrt
3939
name: Build torch-tensorrt whl package
40-
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@7af3f97894a6c372555fd60520807bbf0868d8d2
40+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
4141
with:
4242
repository: ${{ matrix.repository }}
4343
ref: ""
4444
test-infra-repository: pytorch/test-infra
45-
test-infra-ref: 7af3f97894a6c372555fd60520807bbf0868d8d2
45+
test-infra-ref: main
4646
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4747
pre-script: ${{ matrix.pre-script }}
4848
env-var-script: ${{ matrix.env-var-script }}
@@ -70,7 +70,7 @@ jobs:
7070
repository: "pytorch/tensorrt"
7171
ref: ""
7272
test-infra-repository: pytorch/test-infra
73-
test-infra-ref: 7af3f97894a6c372555fd60520807bbf0868d8d2
73+
test-infra-ref: main
7474
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
7575
pre-script: ${{ matrix.pre-script }}
7676
script: |
@@ -99,13 +99,13 @@ jobs:
9999
- repository: pytorch/tensorrt
100100
package-name: torch_tensorrt
101101
pre-script: packaging/pre_build_script.sh
102-
uses: pytorch/tensorrt/.github/workflows/linux-test.yml@release/2.1
102+
uses: pytorch/tensorrt/.github/workflows/linux-test.yml@main
103103
with:
104104
job-name: tests-py-dynamo-converters
105105
repository: "pytorch/tensorrt"
106106
ref: ""
107107
test-infra-repository: pytorch/test-infra
108-
test-infra-ref: release/2.1
108+
test-infra-ref: main
109109
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
110110
pre-script: ${{ matrix.pre-script }}
111111
script: |
@@ -126,13 +126,13 @@ jobs:
126126
- repository: pytorch/tensorrt
127127
package-name: torch_tensorrt
128128
pre-script: packaging/pre_build_script.sh
129-
uses: pytorch/tensorrt/.github/workflows/linux-test.yml@release/2.1
129+
uses: pytorch/tensorrt/.github/workflows/linux-test.yml@main
130130
with:
131131
job-name: tests-py-dynamo-fe
132132
repository: "pytorch/tensorrt"
133133
ref: ""
134134
test-infra-repository: pytorch/test-infra
135-
test-infra-ref: release/2.1
135+
test-infra-ref: main
136136
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
137137
pre-script: ${{ matrix.pre-script }}
138138
script: |
@@ -155,13 +155,13 @@ jobs:
155155
- repository: pytorch/tensorrt
156156
package-name: torch_tensorrt
157157
pre-script: packaging/pre_build_script.sh
158-
uses: pytorch/tensorrt/.github/workflows/linux-test.yml@release/2.1
158+
uses: pytorch/tensorrt/.github/workflows/linux-test.yml@main
159159
with:
160160
job-name: tests-py-torch-compile-be
161161
repository: "pytorch/tensorrt"
162162
ref: ""
163163
test-infra-repository: pytorch/test-infra
164-
test-infra-ref: release/2.1
164+
test-infra-ref: main
165165
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
166166
pre-script: ${{ matrix.pre-script }}
167167
script: |
@@ -183,13 +183,13 @@ jobs:
183183
- repository: pytorch/tensorrt
184184
package-name: torch_tensorrt
185185
pre-script: packaging/pre_build_script.sh
186-
uses: pytorch/tensorrt/.github/workflows/linux-test.yml@release/2.1
186+
uses: pytorch/tensorrt/.github/workflows/linux-test.yml@main
187187
with:
188188
job-name: tests-py-dynamo-core
189189
repository: "pytorch/tensorrt"
190190
ref: ""
191191
test-infra-repository: pytorch/test-infra
192-
test-infra-ref: release/2.1
192+
test-infra-ref: main
193193
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
194194
pre-script: ${{ matrix.pre-script }}
195195
script: |

toolchains/ci_workspaces/WORKSPACE.x86_64.release.rhel.tmpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,14 @@ http_archive(
5959
name = "libtorch",
6060
build_file = "@//third_party/libtorch:BUILD",
6161
strip_prefix = "libtorch",
62-
urls = ["https://download.pytorch.org/libtorch/test/cu121/libtorch-cxx11-abi-shared-with-deps-latest.zip"],
62+
urls = ["https://download.pytorch.org/libtorch/cu121/libtorch-cxx11-abi-shared-with-deps-2.1.1%2Bcu121.zip"],
6363
)
6464

6565
http_archive(
6666
name = "libtorch_pre_cxx11_abi",
6767
build_file = "@//third_party/libtorch:BUILD",
6868
strip_prefix = "libtorch",
69-
urls = ["https://download.pytorch.org/libtorch/test/cu121/libtorch-shared-with-deps-latest.zip"],
69+
urls = ["https://download.pytorch.org/libtorch/cu121/libtorch-shared-with-deps-2.1.1%2Bcu121.zip"],
7070
)
7171

7272
####################################################################################

toolchains/legacy/pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ requires = [
88
"cffi>=1.15.1",
99
"typing-extensions>=4.7.0",
1010
"future>=0.18.3",
11-
"tensorrt>=8.6,<8.7",
11+
"tensorrt==9.1.0.post12.dev4",
1212
"torch>=1.13.0,<2.0",
1313
"pybind11==2.6.2",
1414
"numpy",
@@ -42,7 +42,7 @@ requires-python = ">=3.8"
4242
keywords = ["pytorch", "torch", "tensorrt", "trt", "ai", "artificial intelligence", "ml", "machine learning", "dl", "deep learning", "compiler", "dynamo", "torchscript", "inference"]
4343
dependencies = [
4444
"torch>=1.13.0,<2.0",
45-
"tensorrt>=8.6,<8.7",
45+
"tensorrt==9.1.0.post12.dev4",
4646
"packaging>=23",
4747
"numpy",
4848
"typing-extensions>=4.7.0",

0 commit comments

Comments
 (0)