Solved by Vasiliy_Kuznetsov in post #2 
              
              
                Hi @ayush-1506, the list of supported dynamic quantization layers is here: https://github.com/pytorch/pytorch/blob/master/torch/quantization/quantization_mappings.py#L76