Skip to content

Commit

Permalink
fix: Adding truncate_long_and_double to ptq tests
Browse files Browse the repository at this point in the history
Signed-off-by: Anurag Dixit <a.dixit91@gmail.com>
  • Loading branch information
andi4191 committed May 2, 2022
1 parent 43fab56 commit 3a0640a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/py/test_ptq_dataloader_calibrator.py
Expand Up @@ -65,6 +65,7 @@ def test_compile_script(self):
"inputs": [torchtrt.Input([1, 3, 32, 32])],
"enabled_precisions": {torch.float, torch.int8},
"calibrator": self.calibrator,
"truncate_long_and_double": True,
"device": {
"device_type": torchtrt.DeviceType.GPU,
"gpu_id": 0,
Expand Down

0 comments on commit 3a0640a

Please sign in to comment.