Commit 273cb33
authored
Arm backend: Add missing BasePipeline.set_quantization_calibration (pytorch#23265)
pytorch#23182 made the NSS and NFRU model tests call
pipeline.set_quantization_calibration(), but never added the method, so
the real-data TOSA INT tests fail with AttributeError. Add it to
BasePipeline, configuring the quantize stage the same way the NSS test
did directly before pytorch#23182.
Authored with Claude Code.
cc @digantdesai @freddan80 @per @zingo @oscarandersson8218 @mansnils
@Sebastian-Larsson @robell @rascani1 parent 9234be6 commit 273cb33
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
246 | 247 | | |
247 | 248 | | |
248 | 249 | | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
249 | 264 | | |
250 | 265 | | |
251 | 266 | | |
| |||
0 commit comments