Repository navigation
Commit b8b5e0f
authored
Qualcomm AI Engine Direct - Fix fp16 unit test (pytorch#22059)
### Summary
Since nn.Module has no graph, the fp16 unit test failed with error
"AttributeError: object has no attribute 'graph'".
pytorch#21729 introduce the error. Per internal discussion, we don't want to
extend the function to include everything.
Considering the pass already ensure the hadamard transform op exist, we
will revert the change to add expected_target.
### Test plan
```
pytest backends/qualcomm/tests/rework/htp/op/v68/test.py
```1 parent cff6f4d commit b8b5e0f
2 files changed
Lines changed: 1 addition & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
476 | 476 | | |
477 | 477 | | |
478 | 478 | | |
479 | | - | |
480 | 479 | | |
481 | 480 | | |
482 | | - | |
483 | 481 | | |
| 482 | + | |
484 | 483 | | |
485 | 484 | | |
486 | 485 | | |
| |||
490 | 489 | | |
491 | 490 | | |
492 | 491 | | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | 492 | | |
498 | 493 | | |
499 | 494 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2244 | 2244 | | |
2245 | 2245 | | |
2246 | 2246 | | |
2247 | | - | |
2248 | 2247 | | |
2249 | 2248 | | |
2250 | 2249 | | |
| |||
2255 | 2254 | | |
2256 | 2255 | | |
2257 | 2256 | | |
2258 | | - | |
2259 | 2257 | | |
2260 | 2258 | | |
2261 | 2259 | | |
| |||
0 commit comments