Skip to content

Commit b7f61b9

Browse files
committed
fix typo
Signed-off-by: Kyle Sayers <[email protected]>
1 parent c83f247 commit b7f61b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compressed_tensors/utils/match.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def match_modules_set(
158158
matches = dict.fromkeys(targets, None)
159159

160160
# check that none are left over
161-
unmatched_keys = [match for match, value in matches.items() if value is None]
161+
unmatched_keys = [match for match, value in matches.items() if value is not None]
162162
if len(unmatched_keys):
163163
raise ValueError(f"Unable to match targets into set: {unmatched_keys}")
164164

0 commit comments

Comments
 (0)