Skip to content

Commit 2762afa

Browse files
fix test (#3852)
1 parent bd0bbc8 commit 2762afa

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/py/ts/api/test_export_serde.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
from torch_tensorrt.dynamo.utils import (
1111
COSINE_THRESHOLD,
1212
cosine_similarity,
13-
get_model_device,
1413
)
1514

1615
assertions = unittest.TestCase()
1716

17+
1818
@pytest.mark.unit
19-
def test_save_load_ts(ir):
19+
def test_save_load_ts():
2020
"""
2121
This tests save/load API on Torchscript format (model still compiled using ts workflow)
2222
"""
@@ -41,8 +41,6 @@ def forward(self, x):
4141
ir="ts",
4242
inputs=[input],
4343
min_block_size=1,
44-
cache_built_engines=False,
45-
reuse_cached_engines=False,
4644
)
4745
outputs_trt = trt_gm(input)
4846
# Save it as torchscript representation

0 commit comments

Comments
 (0)