PTQ-Level Efficiency, QAT-Level Accuracy | 训练后量化的效率,量化感知训练的精度
Standardize comment language in utils.py (#1378)
Shanto Islam108f2b589f7e
diff --git a/auto_round/auto_scheme/utils.py b/auto_round/auto_scheme/utils.pyindex 17082430e..c64b17e88 100644--- a/auto_round/auto_scheme/utils.py+++ b/auto_round/auto_scheme/utils.py@@ -264,7 +264,7 @@ def merge_lists_unionfind(list_of_lists):if root_x != root_y:parent[root_y] = root_x- # 初始化并查集+ # Initialize Union-Findfor lst in list_of_lists:for item in lst:if item not in parent:@@ -272,7 +272,7 @@ def merge_lists_unionfind(list_of_lists):for i in range(1, len(lst)):union(lst[0], lst[i])- # 收集结果+ # Collect resultsgroups = {}for item in parent:root = find(item)