Skip to content
Merged
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
11 changes: 9 additions & 2 deletions backends/arm/test/models/Qwen3_VL/test_qwen3_vl_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,15 +246,22 @@ def test_qwen3_vl_full_models_tosa_FP(test_case: Qwen3VLModelTestCase):
def test_qwen3_vl_full_models_tosa_FP_bf16(test_case: Qwen3VLModelTestCase):
model, inputs = test_case.model_cls.prepare_model_and_inputs()
model, inputs = _to_bfloat16_model_and_floating_inputs(model, inputs)
# Slightly higher atol for TOSA BF16 on aarch64 (MLETORCH-2048: numeric mismatch)
atol = (
0.4
if common.is_aarch64_host()
and test_case.model_cls is LowerableVisionModelWrapper
else 0.1
)
with torch.no_grad():
pipeline = TosaPipelineFP[input_t](
model,
inputs,
aten_op=[],
exir_op=[],
tosa_extensions=["bf16"],
atol=1e-1,
rtol=1e-1,
atol=atol,
rtol=0.1,
)
pipeline.run()

Expand Down
Loading