Commit 430983d
committed
test(v4): conftest pins Path A for functional tests — stops SIGABRT mid-sweep
After commit 9854e55 wired LinearAttentionBlock / KimiDeltaAttentionBlock
through the path dispatch, functional tests started SIGABRT'ing mid-suite:
at ~330 tests deep, the per-process Metal kernel cache + tilelang JIT
state can't keep up with auto-mode JIT-compiling fresh kernels per
unique shape combination. Path A (FLA naive) is deterministic and
shape-independent — perfect default for functional tests.
The new autouse fixture in tests/v4/conftest.py pins both
CPPMEGA_V4_KERNEL_PATH__LINEAR_ATTENTION and __KDA to 'path_a' for
every test file EXCEPT the explicit backend/perf test files that opt
out (test_path_dispatch.py, test_block_dispatch_env_override.py,
test_path_b_bwd.py, test_kda_path_b_bwd.py, test_benchmark_*,
test_linear_attention_path_{b,c,d,e}.py, test_path_e_training.py).
Full v4 sweep: 332 passed / 2 skipped (was: aborts at test #330+).1 parent e3926e8 commit 430983d
1 file changed
Lines changed: 59 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
0 commit comments