nncf
nncf copied to clipboard
The QuantizersSwitcher fails to achieve the expected goal.
The QuantizersSwitcher has a bug, where in the following situation, calling enable_quantizers() only once does not achieve the expected goal; it must be called twice: - When the quantizers are all set to disable, calling disable_quantizers() again.
https://github.com/openvinotoolkit/nncf/blob/10fb27c754fbfab588ef9f73696f999d347ebe71/nncf/torch/quantization/layers.py#L637