Commit aade718
authored
[release/2.5] fix and skip test_causal_variants on Navi4x (#2304)
This PR will fix test_transformers.py and skip one test:
- Add missed lines in test_transformers.py to fix `NameError: name
'_cur_sdpa_kernel_backends' is not defined`
- skip
`test_transformers.py::TestAttnBias::test_causal_variants_causal_variant_CausalVariant_UPPER_LEFT_shape3_cuda`
on Navi4x (tested on gfx1200 and gfx1201). Test failed on shape (1, 1,
23, 56, 15) only on Naxi4x only in release/2.5. Test uses `hipBlas`, but
switching to `hipBlasLT` doesn't help
release/2.6 has significant changes in `SDPBackend.MATH` backend and the
test passes
Fixes SWDEV-5228441 parent 71fc73f commit aade718
2 files changed
+30
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3779 | 3779 | | |
3780 | 3780 | | |
3781 | 3781 | | |
| 3782 | + | |
| 3783 | + | |
| 3784 | + | |
| 3785 | + | |
3782 | 3786 | | |
3783 | 3787 | | |
3784 | 3788 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 12 | | |
20 | 13 | | |
21 | 14 | | |
| |||
66 | 59 | | |
67 | 60 | | |
68 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
69 | 86 | | |
70 | 87 | | |
71 | 88 | | |
| |||
0 commit comments