Skip to content

Commit 9ae69e8

Browse files
committed
changing the data type in interpretor setting
1 parent 486c0b2 commit 9ae69e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/py/dynamo/conversion/harness.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ def run_test_comparator(
257257
inputs,
258258
expected_ops,
259259
comparators: List[Tuple[Callable, List]],
260-
precision=torch.float32,
260+
precision=torch.float,
261261
output_dtypes=None,
262262
use_dynamo_tracer=False,
263263
enable_passes=False,

tests/py/dynamo/conversion/test_rand_aten.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def forward(self, x):
121121
x.dtype == y.dtype if check_dtype else True
122122
)
123123
expected_ops = []
124-
# TRT-np returns int32 while torch returns float32
124+
# TRT-TRT returns int32 while torch returns int64
125125
self.run_test_comparator(
126126
rand_model,
127127
inputs,

0 commit comments

Comments
 (0)