Skip to content

Commit 47d5262

Browse files
authored
fix: Docker builder with new Torch versions (#2547)
1 parent 78bd3b8 commit 47d5262

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

.github/workflows/docker_builder.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ concurrency:
1616

1717
jobs:
1818
build:
19-
runs-on: linux.2xlarge
19+
runs-on: linux.4xlarge.nvidia.gpu
2020

2121
# Define key environment variables
2222
# Container name is of the form torch_tensorrt:<branch_name>

py/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ numpy
22
packaging
33
pybind11==2.6.2
44
--extra-index-url https://download.pytorch.org/whl/nightly/cu121
5-
torch>=2.2.0.dev,<=2.3.0
6-
torchvision>=0.17.0.dev,<0.18.0
5+
torch>=2.3.0.dev,<2.4.0
6+
torchvision>=0.18.0.dev,<0.19.0
77
--extra-index-url https://pypi.ngc.nvidia.com
88
tensorrt==8.6.1
99
pyyaml

pyproject.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ requires = [
99
"typing-extensions>=4.7.0",
1010
"future>=0.18.3",
1111
"tensorrt>=8.6,<8.7",
12-
"torch >=2.2.0.dev,<=2.3.0",
13-
#"torch==2.1.0.dev20230731",
12+
"torch >=2.3.0.dev,<2.4.0",
1413
"pybind11==2.6.2",
1514
"numpy",
1615
]
@@ -42,8 +41,7 @@ readme = {file = "py/README.md", content-type = "text/markdown"}
4241
requires-python = ">=3.8"
4342
keywords = ["pytorch", "torch", "tensorrt", "trt", "ai", "artificial intelligence", "ml", "machine learning", "dl", "deep learning", "compiler", "dynamo", "torchscript", "inference"]
4443
dependencies = [
45-
"torch >=2.2.0.dev,<=2.3.0",
46-
#"torch==2.1.0.dev20230731",
44+
"torch >=2.3.0.dev,<2.4.0",
4745
"tensorrt>=8.6,<8.7",
4846
"packaging>=23",
4947
"numpy",
@@ -52,7 +50,7 @@ dependencies = [
5250
dynamic = ["version"]
5351

5452
[project.optional-dependencies]
55-
torchvision = ["torchvision >=0.17.dev,<0.18.0"]
53+
torchvision = ["torchvision >=0.18.dev,<0.19.0"]
5654

5755
[project.urls]
5856
Homepage = "https://pytorch.org/tensorrt"

0 commit comments

Comments
 (0)