[UT][NPU] add NPU attention unit tests for ascend_backend and ascend_dsv4_backend (#32294)

This commit is contained in:
xdtbynd
2026-07-26 19:59:44 +08:00
committed by GitHub
parent 61057bda6c
commit 78d7928296
4 changed files with 1271 additions and 0 deletions
+2
View File
@@ -99,6 +99,7 @@ PER_COMMIT_SUITES = {
],
HWBackend.NPU: [
"base-a-test-1-gpu-small",
"stage-a-unit-test-npu",
"stage-b-test-1-npu-a2",
"stage-b-test-2-npu-a2",
"stage-b-test-4-npu-a3",
@@ -337,6 +338,7 @@ def run_a_suite(args):
if not f.endswith("/conftest.py")
and not f.endswith("/__init__.py")
and not f.endswith("/cpu/utils.py")
and not f.endswith("/run_tests.py")
]
# Strict: all discovered files must have proper registration