Skip to content

Commit e06de0f

Browse files
committed
removing precision from test
1 parent f049f6d commit e06de0f

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

tests/py/dynamo/models/test_models.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ def test_resnet18_cpu_offload(ir):
135135
msg="Model should be offloaded to CPU",
136136
)
137137
model.cuda()
138-
trt_mod.cuda()
139138
cos_sim = cosine_similarity(model(input), trt_mod(input))
140139
assertions.assertTrue(
141140
cos_sim > COSINE_THRESHOLD,
@@ -374,7 +373,6 @@ def test_bert_base_uncased_cpu_offload(ir):
374373
msg="Model should be offloaded to CPU",
375374
)
376375
model.cuda()
377-
trt_mod.cuda()
378376

379377
model_outputs = model(input, input2)
380378
trt_model_outputs = trt_mod(input, input2)

tests/py/dynamo/models/test_models_export.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,6 @@ def calibrate_loop(model):
385385
trt_model = torchtrt.dynamo.compile(
386386
exp_program,
387387
inputs=[input_tensor],
388-
enabled_precisions={torch.float8_e4m3fn},
389388
min_block_size=1,
390389
cache_built_engines=False,
391390
reuse_cached_engines=False,

0 commit comments

Comments
 (0)