Commit f80b048
[XPU] Fix UT errors in the sam3 and lfm series model. (#42798)
* Make sam3 tests pass on XPU
* Update flm2 tests GT for XPU
* Remove the skip tests of local mask for XPU
* Pass position_ids to varlen FA2
* Change modular also
* Skip FA2 bwd tests
* Make style
* Increase rtol
* Adapt to the main branch
* fix cuda 1
---------
Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>1 parent 6d00f6b commit f80b048
File tree
4 files changed
+21
-19
lines changed- tests
- models
- lfm2_moe
- sam3_tracker_video
- sam3
4 files changed
+21
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
180 | | - | |
| 179 | + | |
| 180 | + | |
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
192 | | - | |
| 191 | + | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
230 | 232 | | |
231 | 233 | | |
232 | 234 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
1448 | 1449 | | |
1449 | 1450 | | |
1450 | 1451 | | |
| 1452 | + | |
1451 | 1453 | | |
1452 | 1454 | | |
1453 | 1455 | | |
| |||
1491 | 1493 | | |
1492 | 1494 | | |
1493 | 1495 | | |
| 1496 | + | |
1494 | 1497 | | |
1495 | 1498 | | |
1496 | 1499 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
431 | | - | |
| 431 | + | |
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2749 | 2749 | | |
2750 | 2750 | | |
2751 | 2751 | | |
2752 | | - | |
2753 | | - | |
2754 | | - | |
2755 | | - | |
2756 | | - | |
2757 | | - | |
2758 | 2752 | | |
2759 | 2753 | | |
2760 | 2754 | | |
| |||
3386 | 3380 | | |
3387 | 3381 | | |
3388 | 3382 | | |
| 3383 | + | |
| 3384 | + | |
| 3385 | + | |
3389 | 3386 | | |
3390 | 3387 | | |
3391 | 3388 | | |
| |||
0 commit comments