Solved by jerryzh168 in post #2 
              
              
                the change in eager mode quantization will require inheriting https://github.com/pytorch/pytorch/blob/master/torch/nn/quantized/modules/linear.py#L103 and also related fusion modules under https://github.com/pytorch/pytorch/tree/master/torch/nn/intrinsic folder, and pass a white_list(https://github.…