Skip to content

Skip some e2e test cases or assertion#796

Merged
zhenchaoni merged 2 commits into
mainfrom
private/zhenni/skip_vitisai_compile_e2e
Jun 1, 2026
Merged

Skip some e2e test cases or assertion#796
zhenchaoni merged 2 commits into
mainfrom
private/zhenni/skip_vitisai_compile_e2e

Conversation

@zhenchaoni

Copy link
Copy Markdown
Member

Skips compilation related cases

There are some model fail to be compiled in VitisAI Execution Provider. The error is an "Access Violation" error which causes the python process to crash. This would be an EP side problem. To unblock our e2e test, I have skipped them for VitisAI

Skips npu usage assertion for small model

Running small mock model can be super fast. For this case, the NPU usage is zero. However, our assertion logic still expectes to have some NPU usage. This makes the e2e not stable. Considering that we have already this assertion on real model e2e test cases, I skip this assertion for small model only.

Skips eval metric value range assertion

The eval e2e test only uses 10 samples because we aim to see the eval pipeline is working rather than truly eval a model in e2e. In assertion logic, we have a metric range. But the metric range is calcuated on qnn device, which may not be the same for other devices. Using the same range may cause e2e instable. Therefore, I only assert the metric range for qnn. For other device, I just assert the metric value is available.

@zhenchaoni zhenchaoni requested a review from a team as a code owner June 1, 2026 08:04
@xieofxie

xieofxie commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

I think we should update test case instead of relax the requirement

For example, use a working model etc.

Comment thread tests/e2e/require_ep.py Outdated
@zhenchaoni zhenchaoni merged commit be64d4a into main Jun 1, 2026
9 checks passed
@zhenchaoni zhenchaoni deleted the private/zhenni/skip_vitisai_compile_e2e branch June 1, 2026 09:06
DingmaomaoBJTU pushed a commit that referenced this pull request Jun 5, 2026
**Skips compilation related cases**

There are some model fail to be compiled in VitisAI Execution Provider.
The error is an "Access Violation" error which causes the python process
to crash. This would be an EP side problem. To unblock our e2e test, I
have skipped them for VitisAI

**Skips npu usage assertion for small model**

Running small mock model can be super fast. For this case, the NPU usage
is zero. However, our assertion logic still expectes to have some NPU
usage. This makes the e2e not stable. Considering that we have already
this assertion on real model e2e test cases, I skip this assertion for
small model only.

**Skips eval metric value range assertion**

The eval e2e test only uses 10 samples because we aim to see the eval
pipeline is working rather than truly eval a model in e2e. In assertion
logic, we have a metric range. But the metric range is calcuated on qnn
device, which may not be the same for other devices. Using the same
range may cause e2e instable. Therefore, I only assert the metric range
for qnn. For other device, I just assert the metric value is available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants