Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions backends/arm/test/ops/test_upsample_bilinear2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -551,12 +551,21 @@ def test_upsample_bilinear2d_vec_vgf_no_quant_Upsample(test_data: torch.Tensor):
@common.SkipIfNoModelConverter
def test_upsample_bilinear2d_vec_vgf_no_quant_Interpolate(test_data: torch.Tensor):
data, size, scale_factor, compare = test_data()
match data.dtype:
case torch.float16:
atol = 1e-2
rtol = 1e-2
case _:
atol = 1e-3
rtol = 1e-3
pipeline = VgfPipeline[input_t1](
Interpolate(size, scale_factor),
(data,),
aten_op,
exir_op,
quantize=False,
atol=atol,
rtol=rtol,
)
if not compare:
pipeline.pop_stage(-1)
Expand Down
Loading