File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -603,6 +603,11 @@ def get_args():
603603 action = "store_false" ,
604604 help = "Disable strict checking while exporting models." ,
605605 )
606+ parser .add_argument (
607+ "--enable_qdq_fusion_pass" ,
608+ action = "store_true" ,
609+ help = "[DEPRECATED] This flag is no longer used and will be removed in a future release." ,
610+ )
606611 parser .add_argument (
607612 "--enable_debug_mode" ,
608613 required = False ,
@@ -846,6 +851,13 @@ def to_edge_no_delegate(
846851 model = exported_program .module ()
847852 model_fp32 = model
848853
854+ if args .enable_qdq_fusion_pass :
855+ logging .warning (
856+ "--enable_qdq_fusion_pass is deprecated and has no effect. "
857+ "Quantized node replacement is now handled within the "
858+ "respective compilation paths."
859+ )
860+
849861 model_name = os .path .basename (os .path .splitext (args .model_name )[0 ])
850862 if args .intermediates :
851863 os .makedirs (args .intermediates , exist_ok = True )
You can’t perform that action at this time.
0 commit comments