[NPU] Add GitHub test summary and deduplicate test code. Part 1#23835
Conversation
There was a problem hiding this comment.
Code Review
This pull request refactors Ascend-based tests by introducing the GSM8KAscendMixin and TestMMLU classes to standardize server setup, environment configuration, and evaluation logic. It also implements a reporting utility to write test results directly to the GitHub step summary. The review identifies critical logic errors in the reporting function—specifically regarding incorrect dictionary keys and potential type errors during metric comparisons—as well as a missing import in the piecewise graph prefill test.
f89aa94 to
014c8af
Compare
014c8af to
58055cc
Compare
|
please post your command and summary result here |
|
/tag-and-rerun-ci |
cdc8736 to
0ca74bf
Compare
|
please fix the confict issues and pay attention to the #24145 |
|
only Ascend npu files changed and GPU CI failed due to environment issue. |
…project#23835) Co-authored-by: Elizaveta Martirosian <elizaveta.martirosian@gmail.com> Co-authored-by: root <root@localhost.localdomain> Co-authored-by: Elizaveta Martirosian <you@example.com> Co-authored-by: ronnie_zheng <zl19940307@163.com>
…project#23835) Co-authored-by: Elizaveta Martirosian <elizaveta.martirosian@gmail.com> Co-authored-by: root <root@localhost.localdomain> Co-authored-by: Elizaveta Martirosian <you@example.com> Co-authored-by: ronnie_zheng <zl19940307@163.com>
Motivation
It is necessary to add a GitHub summary to present test data and results in a more readable format. Also, the test code needs to be cleaned up — specifically, duplicates should be removed.
Modifications
Result
Checklist
Review and Merge Process
/tag-and-rerun-ci,/tag-run-ci-label,/rerun-failed-ci