Skip to content

Commit

Permalink
fix duplicate error in paritioner
Browse files Browse the repository at this point in the history
  • Loading branch information
bittersweet1999 committed Sep 23, 2024
1 parent e4a4066 commit 8e32e78
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions opencompass/partitioners/sub_naive.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@ def get_model_combinations(
model_combinations = list(product(base_models, compare_models))
unique_combinations = remove_duplicate_pairs(
[combo for combo in model_combinations if combo[0] != combo[1]])
print(unique_combinations)
exit()
return unique_combinations
elif mode == 'fixed':
pass
Expand Down

0 comments on commit 8e32e78

Please sign in to comment.