Skip to content

Commit 9a0f0c7

Browse files
committed
style, image
1 parent d741cf9 commit 9a0f0c7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
710 Bytes
Loading

prototype_source/pt2e_quant_xpu_inductor.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PyTorch 2 Export Quantization with Intel GPU Backend through Inductor
22
==================================================================
33

4-
**Author**: `Yan Zhiwei <https://github.com/ZhiweiYan-96>`_, `Wang Eikan <https://github.com/EikanWang>`_, `Zhang, Liangang <https://github.com/liangan1>`_, `Liu River <https://github.com/riverliuintel>`_, `Cui Yifeng <https://github.com/CuiYifeng>`_
4+
**Author**: `Yan Zhiwei <https://github.com/ZhiweiYan-96>`_, `Wang Eikan <https://github.com/EikanWang>`_, `Zhang Liangang <https://github.com/liangan1>`_, `Liu River <https://github.com/riverliuintel>`_, `Cui Yifeng <https://github.com/CuiYifeng>`_
55

66
Prerequisites
77
---------------
@@ -109,7 +109,7 @@ Besides the default quant configuration (asymmetric quantized activation), we al
109109
dtype=torch.int8,
110110
quant_min=-128,
111111
quant_max=127,
112-
qscheme=torch.per_tensor_symmetric,
112+
qscheme=torch.per_tensor_symmetric, # Change the activation quant config to symmetric
113113
is_dynamic=False,
114114
observer_or_fake_quant_ctr=act_observer_or_fake_quant_ctr.with_args(
115115
**extra_args
@@ -124,7 +124,7 @@ Besides the default quant configuration (asymmetric quantized activation), we al
124124
dtype=torch.int8,
125125
quant_min=-128,
126126
quant_max=127,
127-
qscheme=torch.per_channel_symmetric,
127+
qscheme=torch.per_channel_symmetric, # Same as the default config, the only supported option for weight
128128
ch_axis=0, # 0 corresponding to weight shape = (oc, ic, kh, kw) of conv
129129
is_dynamic=False,
130130
observer_or_fake_quant_ctr=weight_observer_or_fake_quant_ctr.with_args(

0 commit comments

Comments
 (0)