pytorch/test/quantization
Xia, Weiwen 9827d677b4 [Quant][PT2E][X86] annotate and convert for linear_dynamic_fp16 (#141480)
Annotate linear node for `linear_dynamic_fp16` with `X86InductorQuantizer`
After `convert_pt2e`, the pattern will be
```
  x
  |
linear <- to_fp32 <- to_fp16 <- w
```

**Test plan**
```
pytest test/quantization/pt2e/test_x86inductor_quantizer.py -k test_linear_dynamic_fp16
```

Pull Request resolved: https://github.com/pytorch/pytorch/pull/141480
Approved by: https://github.com/jgong5, https://github.com/jerryzh168
2024-11-29 07:48:39 +00:00
..
ao_migration
bc
core Enable UBSAN tests (#141672) 2024-11-28 01:55:15 +00:00
eager Replace clone.detach with detach.clone (#140264) 2024-11-13 07:01:02 +00:00
fx
jit
pt2e [Quant][PT2E][X86] annotate and convert for linear_dynamic_fp16 (#141480) 2024-11-29 07:48:39 +00:00
serialized
__init__.py