From 301ae138b1bd75c3ecedae90c1db7bb63fe5baf3 Mon Sep 17 00:00:00 2001 From: Hansong Zhang Date: Wed, 28 Aug 2024 14:05:44 -0700 Subject: [PATCH] Fix linter --- extension/llm/export/quantizer_lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extension/llm/export/quantizer_lib.py b/extension/llm/export/quantizer_lib.py index 76a2bc97d3e..7fc53358c50 100644 --- a/extension/llm/export/quantizer_lib.py +++ b/extension/llm/export/quantizer_lib.py @@ -179,7 +179,7 @@ def get_qnn_quantizer( quant_dtype = QuantDtype.use_16a16w # pyre-fixme[16] # Due to the error with 16a16w in Qnn Htp, we need to disable per channel linear quantization when use 16a16w # TODO: enable it after the issue is fixed - logging.warn( + logging.warning( "Disable per channel quantization for linear due to the error with QNN HTP 16a16w." ) qnn_quantizer.set_per_channel_linear_quant(enable=False)