Skip to content

Commit ce1d112

Browse files
authored
Merge pull request #994 from NVIDIA/anuragd/ci_fixes
Fixes for CI pipeline pre-cxx11 pipeline
2 parents 10b55d4 + 962660d commit ce1d112

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

tests/py/test_ptq_dataloader_calibrator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ def test_compile_script(self):
6565
"inputs": [torchtrt.Input([1, 3, 32, 32])],
6666
"enabled_precisions": {torch.float, torch.int8},
6767
"calibrator": self.calibrator,
68+
"truncate_long_and_double": True,
6869
"device": {
6970
"device_type": torchtrt.DeviceType.GPU,
7071
"gpu_id": 0,

tests/py/test_ptq_to_backend.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ def setUp(self):
4040
"inputs": [torchtrt.Input([1, 3, 32, 32])],
4141
"enabled_precisions": {torch.float, torch.half, torch.int8},
4242
"calibrator": self.calibrator,
43+
"truncate_long_and_double": True,
4344
"device": {
4445
"device_type": torchtrt.DeviceType.GPU,
4546
"gpu_id": 0,

tests/py/test_ptq_trt_calibrator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ def test_compile_script(self):
106106
"inputs": [torchtrt.Input([1, 3, 32, 32])],
107107
"enabled_precisions": {torch.float, torch.int8},
108108
"calibrator": self.calibrator,
109+
"truncate_long_and_double": True,
109110
"device": {
110111
"device_type": torchtrt.DeviceType.GPU,
111112
"gpu_id": 0,

tests/py/test_trt_intercompatibility.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ def setUp(self):
1616
def test_pt_to_trt(self):
1717
compile_spec = {
1818
"inputs": [torchtrt.Input(self.input.shape)],
19+
"truncate_long_and_double": True,
1920
"device": {
2021
"device_type": torchtrt.DeviceType.GPU,
2122
"gpu_id": 0,

0 commit comments

Comments
 (0)